summaryrefslogtreecommitdiff
path: root/src/modes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modes.cpp')
-rw-r--r--src/modes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modes.cpp b/src/modes.cpp
index 9f886cc3e..c634f7f53 100644
--- a/src/modes.cpp
+++ b/src/modes.cpp
@@ -237,7 +237,7 @@ void ChannelModeBan::AddMask(Channel *chan, const char *mask)
/* Check whether it matches a botserv bot after adding internally
* and parsing it through cidr support. ~ Viper */
if (Config.s_BotServ && Config.BSSmartJoin && chan->ci && chan->ci->bi
- && chan->usercount >= Config.BSMinUsers)
+ && chan->users.size() >= Config.BSMinUsers)
{
BotInfo *bi = chan->ci->bi;