diff options
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r-- | src/regchannel.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp index 1925baf77..0efb7d676 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -74,12 +74,6 @@ ChannelInfo::~ChannelInfo() FOREACH_MOD(I_OnDelChan, OnDelChan(this)); - if (this->c && this->c->HasMode(CMODE_PERM)) - { - this->c->RemoveMode(NULL, CMODE_PERM); - ircdproto->SendMode(whosends(this), this->c, "-%c", ModeManager::FindChannelModeByName(CMODE_PERM)->ModeChar); - } - Alog(LOG_DEBUG) << "Deleting channel " << this->name; if (this->bi) |