diff options
author | Adam <Adam@anope.org> | 2010-08-24 21:34:08 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-08-24 21:34:08 -0400 |
commit | ea9b945830166ff237799460aba6236e4132a075 (patch) | |
tree | a10b282935998dfdf0accb59a6c117e551f3b7d2 /src/channels.cpp | |
parent | 2803190255e9401e5d096cca9a53c46dc120ca3f (diff) |
Internally ULine our server, and fixed a user count check for botserv when setting -P on channels
Diffstat (limited to 'src/channels.cpp')
-rw-r--r-- | src/channels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index 709d9cf01..65668a6d6 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -498,7 +498,7 @@ void Channel::RemoveModeInternal(ChannelMode *cm, const Anope::string ¶m, bo if (ci) { ci->UnsetFlag(CI_PERSIST); - if (!Config->s_BotServ.empty() && ci->bi && this->FindUser(ci->bi)) + if (!Config->s_BotServ.empty() && ci->bi && this->FindUser(ci->bi) && Config->BSMinUsers && this->users.size() <= Config->BSMinUsers) this->ci->bi->Part(this); } } |