Exemple #1
0
 void OnKickMessage(CKickMessage& Message) override {
     const CNick& OpNick = Message.GetNick();
     const CString sKickedNick = Message.GetKickedNick();
     CChan& Channel = *Message.GetChan();
     const CString sMessage = Message.GetReason();
     AddBuffer(Channel, OpNick.GetNickMask() + " kicked " + sKickedNick +
                            " Reason: [" + sMessage + "]",
               &Message.GetTime(), Message.GetTags());
 }
Exemple #2
0
 void OnKickMessage(CKickMessage& Message) override {
     const CNick& OpNick = Message.GetNick();
     const CString sKickedNick = Message.GetKickedNick();
     CChan& Channel = *Message.GetChan();
     const CString sMessage = Message.GetReason();
     AddBuffer(Channel, t_f("{1} kicked {2} with reason: {3}")(
                            OpNick.GetNickMask(), sKickedNick, sMessage),
               &Message.GetTime(), Message.GetTags());
 }
Exemple #3
0
	void OnKickMessage(CKickMessage& msg) override { vsHooks.push_back("OnKickMessage"); vsMessages.push_back(msg.ToString()); vNetworks.push_back(msg.GetNetwork()); vChannels.push_back(msg.GetChan()); }