i hate cpp
This commit is contained in:
parent
f37ed97f51
commit
6d9c5eb635
2
raid.cpp
2
raid.cpp
@ -28,7 +28,7 @@ class CRaidMod : public CModule {
|
|||||||
|
|
||||||
EModRet OnChanMsg(CNick& Nick, CChan& Channel, CString& sMessage) override {
|
EModRet OnChanMsg(CNick& Nick, CChan& Channel, CString& sMessage) override {
|
||||||
CIRCNetwork* network = GetNetwork();
|
CIRCNetwork* network = GetNetwork();
|
||||||
CString& myNick = network->GetNick()
|
CString myNick = network->GetNick()
|
||||||
|
|
||||||
if (sMessage.Contains("u create a queue for ") && !sMessage.Contains(myNick) && Nick.GetNick() == "brobot") {
|
if (sMessage.Contains("u create a queue for ") && !sMessage.Contains(myNick) && Nick.GetNick() == "brobot") {
|
||||||
PutIRC("PRIVMSG " + Channel.GetName() + " :.raid");
|
PutIRC("PRIVMSG " + Channel.GetName() + " :.raid");
|
||||||
|
Loading…
Reference in New Issue
Block a user