mirror of
https://github.com/anope/anope.git
synced 2026-07-09 23:43:12 +02:00
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
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user