mirror of
https://github.com/anope/anope.git
synced 2026-07-09 19:43:14 +02:00
Fixed botserv bots parting empty channels. This also allows setting bsminusers to 0, which keeps the botserv bot in the channel at all times.
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ ChannelInfo::~ChannelInfo()
|
||||
|
||||
if (this->c)
|
||||
{
|
||||
if (this->bi && this->c->users.size() >= Config.BSMinUsers)
|
||||
if (this->bi && this->c->FindUser(this->bi))
|
||||
this->bi->Part(this->c);
|
||||
this->c->ci = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user