summaryrefslogtreecommitdiff
path: root/src/modes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modes.cpp')
-rw-r--r--src/modes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modes.cpp b/src/modes.cpp
index 463e82945..7094b79b1 100644
--- a/src/modes.cpp
+++ b/src/modes.cpp
@@ -226,8 +226,8 @@ 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 (s_BotServ && BSSmartJoin && chan->ci && chan->ci->bi
- && chan->usercount >= BSMinUsers)
+ if (Config.s_BotServ && Config.BSSmartJoin && chan->ci && chan->ci->bi
+ && chan->usercount >= Config.BSMinUsers)
{
BotInfo *bi = chan->ci->bi;