diff options
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 bd6ded545..9f5c51c8e 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -79,7 +79,7 @@ ChannelInfo::~ChannelInfo() if (this->c && this->c->HasMode(CMODE_PERM)) { this->c->RemoveMode(NULL, CMODE_PERM); - ircdproto->SendMode(whosends(this), this->name, "-%c", ModeManager::FindChannelModeByName(CMODE_PERM)->ModeChar); + ircdproto->SendMode(whosends(this), this->c, "-%c", ModeManager::FindChannelModeByName(CMODE_PERM)->ModeChar); } if (debug) |
