예제 #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());
 }
예제 #2
0
파일: buffextras.cpp 프로젝트: BtbN/znc
 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());
 }
예제 #3
0
파일: IRCSockTest.cpp 프로젝트: KielBNC/znc
	void OnKickMessage(CKickMessage& msg) override { vsHooks.push_back("OnKickMessage"); vsMessages.push_back(msg.ToString()); vNetworks.push_back(msg.GetNetwork()); vChannels.push_back(msg.GetChan()); }