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:
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user