diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-28 23:02:07 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-28 23:02:07 +0000 |
commit | a08b3ec5924c946308ac086cd3ee7d701610d3be (patch) | |
tree | 84da442a85ffeccd6425cc7c85db9eda6e881753 /src/modes.cpp | |
parent | f6b823ade85160f94544d1ad1de4d8fbc42b2712 (diff) |
Massive move of all of the Config variables out of global scope to the Config class
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2674 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modes.cpp')
-rw-r--r-- | src/modes.cpp | 4 |
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; |