1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 00:23:12 +02:00

Removed log:inhabitlogchannel and replaced it with service:channels

This commit is contained in:
Adam
2011-08-13 21:52:21 -04:00
parent 4a7ba7ef4c
commit 8a6d6577bd
16 changed files with 152 additions and 124 deletions
+1 -1
View File
@@ -401,7 +401,7 @@ void Channel::RemoveModeInternal(ChannelMode *cm, const Anope::string &param, bo
if (EnforceMLock)
{
/* Reset modes on bots if we're supposed to */
if (bi)
if (this->ci && this->ci->bi && this->ci->bi == bi)
{
if (Config->BotModeList.HasFlag(cm->Name))
this->SetMode(bi, cm, bi->nick);