1
0
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:
Adam-
2009-11-28 23:02:07 +00:00
parent f6b823ade8
commit a08b3ec592
157 changed files with 3490 additions and 3535 deletions
+2 -2
View File
@@ -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;