summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index 5f9437513..4460cc272 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -79,8 +79,7 @@ ChannelInfo::~ChannelInfo()
ircdproto->SendMode(whosends(this), this->c, "-%c", ModeManager::FindChannelModeByName(CMODE_PERM)->ModeChar);
}
- if (debug)
- alog("debug: Deleting channel %s", this->name.c_str());
+ Alog(LOG_DEBUG) << "Deleting channel " << this->name;
if (this->bi)
this->bi->chancount--;