mirror of
https://github.com/znc/znc.git
synced 2026-07-04 08:51:14 +02:00
Add JoinMessage::GetKey() & SetKey()
This will be useful for implementing the upcoming OnUserJoinMessage() module hook, that is allowed to modify the key.
This commit is contained in:
@@ -107,6 +107,8 @@ public:
|
||||
|
||||
class CJoinMessage : public CTargetMessage {
|
||||
public:
|
||||
CString GetKey() const { return GetParam(1); }
|
||||
void SetKey(const CString& sKey) { SetParam(1, sKey); }
|
||||
};
|
||||
|
||||
class CNickMessage : public CMessage {
|
||||
|
||||
Reference in New Issue
Block a user