fix message
This commit is contained in:
parent
f53a3a7329
commit
0ab4088239
3
raid.cpp
3
raid.cpp
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user