1
0
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:
Adam
2010-08-01 16:47:43 -04:00
parent d59c1b95e1
commit e8d6524411
5 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -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;
}