diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-16 06:57:14 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-01-16 06:57:14 +0000 |
commit | ff13d00eb50a228e05c4c37b0757082ca8bc9e4a (patch) | |
tree | 9e3c000e91963de7c696bb3733fbb33a994a445b /src/modes.cpp | |
parent | aaf1cefd1c34e08d68725d459cab02128daf72e6 (diff) |
Removed c_userlist and u_chanlist, replaced with std::list
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2764 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modes.cpp')
-rw-r--r-- | src/modes.cpp | 2 |
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; |