master
Jordan Koch 2019-07-07 12:31:56 -04:00
parent e4cab95923
commit d2d29cb2cd
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class CRaidMod : public CModule {
EModRet OnChanMsg(CNick& Nick, CChan& Channel, CString& sMessage) override {
CIRCNetwork* network = GetNetwork();
myNick = network->GetNick()
CString& myNick = network->GetNick()
if (sMessage.Contains("u create a queue for ") && !sMessage.Contains(myNick) && Nick.GetNick() == "brobot") {
PutIRC("PRIVMSG " + Channel.GetName() + " :.raid");