1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 15:46:39 +02:00

Internally ULine our server, and fixed a user count check for botserv when setting -P on channels

This commit is contained in:
Adam
2010-08-24 21:34:08 -04:00
parent 2803190255
commit ea9b945830
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -498,7 +498,7 @@ void Channel::RemoveModeInternal(ChannelMode *cm, const Anope::string &param, 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);
}
}