summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index 802cf15af..5f9437513 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -87,7 +87,7 @@ ChannelInfo::~ChannelInfo()
if (this->c)
{
- if (this->bi && this->c->usercount >= Config.BSMinUsers)
+ if (this->bi && this->c->users.size() >= Config.BSMinUsers)
ircdproto->SendPart(this->bi, this->c, NULL);
this->c->ci = NULL;
}