diff options
| author | Adam <Adam@anope.org> | 2010-08-01 16:47:43 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-08-01 16:47:43 -0400 |
| commit | e8d6524411e188f4de32a231857b078b57aef151 (patch) | |
| tree | 2d1fa7b6857aeab17f2d6f2a867a63ab13b47381 /src/regchannel.cpp | |
| parent | d59c1b95e18fd5c9bbec14b8b1b8aab989a3bce7 (diff) | |
Fixed botserv bots parting empty channels. This also allows setting bsminusers to 0, which keeps the botserv bot in the channel at all times.
Diffstat (limited to 'src/regchannel.cpp')
| -rw-r--r-- | src/regchannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp index 177e39e78..f08fa1cc4 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -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; } |
