fix message

This commit is contained in:
Jordan Koch 2019-07-07 10:53:34 -04:00
parent f53a3a7329
commit 0ab4088239

View File

@ -27,7 +27,8 @@ class CRaidMod : public CModule {
EModRet OnChanMsg(CNick& Nick, CChan& Channel, CString& sMessage) override { EModRet OnChanMsg(CNick& Nick, CChan& Channel, CString& sMessage) override {
if (sMessage.Contains("u create a queue for ") && Nick.GetNick() == "brobot") { if (sMessage.Contains("u create a queue for ") && Nick.GetNick() == "brobot") {
PutIRC("PRIVMSG " + Channel.GetName() + " :" + sMessage); PutIRC("PRIVMSG " + Channel.GetName() + " :.raid");
PutIRC("PRIVMSG " + Channel.GetName() + " :.adv");
} }
return CONTINUE; return CONTINUE;
} }