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:
J-P Nurmi
2015-08-16 18:23:32 +02:00
parent 55385a5d58
commit de4ffb180c
+2
View File
@@ -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 {