mirror of
https://github.com/znc/znc.git
synced 2026-08-10 02:43:05 +02:00
Add CNumericMessage
This commit is contained in:
@@ -126,6 +126,11 @@ public:
|
||||
void SetText(const CString& sText) { SetParam(1, sText); }
|
||||
};
|
||||
|
||||
class CNumericMessage : public CMessage {
|
||||
public:
|
||||
unsigned int GetCode() const { return GetCommand().ToUInt(); }
|
||||
};
|
||||
|
||||
class CKickMessage : public CTargetMessage {
|
||||
public:
|
||||
CString GetKickedNick() const { return GetParam(1); }
|
||||
|
||||
Reference in New Issue
Block a user