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:
+2
-2
@@ -537,7 +537,7 @@ void Channel::SetMode(BotInfo *bi, ChannelMode *cm, const Anope::string ¶m,
|
||||
}
|
||||
|
||||
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 ¶
|
||||
}
|
||||
|
||||
ModeManager::StackerAdd(bi, this, cm, false, realparam);
|
||||
RemoveModeInternal(bi ? finduser(bi->nick) : NULL, cm, realparam, EnforceMLock);
|
||||
RemoveModeInternal(bi, cm, realparam, EnforceMLock);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user