1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 10:56:38 +02:00

fixed a bug in chanstats

This commit is contained in:
DukePyrolator
2012-04-13 18:33:22 +02:00
parent 7372b457cc
commit b752c3a668
3 changed files with 10 additions and 5 deletions
+2 -2
View File
@@ -537,7 +537,7 @@ void Channel::SetMode(BotInfo *bi, ChannelMode *cm, const Anope::string &param,
}
ModeManager::StackerAdd(bi, this, cm, true, param);
SetModeInternal(bi ? finduser(bi->nick) : NULL, cm, param, EnforceMLock);
SetModeInternal(bi, cm, param, EnforceMLock);
}
/**
@@ -589,7 +589,7 @@ void Channel::RemoveMode(BotInfo *bi, ChannelMode *cm, const Anope::string &para
}
ModeManager::StackerAdd(bi, this, cm, false, realparam);
RemoveModeInternal(bi ? finduser(bi->nick) : NULL, cm, realparam, EnforceMLock);
RemoveModeInternal(bi, cm, realparam, EnforceMLock);
}
/**