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 8c806fc02..bd6ded545 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -91,7 +91,7 @@ ChannelInfo::~ChannelInfo()
if (this->c)
{
if (this->bi && this->c->usercount >= Config.BSMinUsers)
- ircdproto->SendPart(this->bi, this->c->name, NULL);
+ ircdproto->SendPart(this->bi, this->c, NULL);
this->c->ci = NULL;
}