summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864>2010-01-31 06:15:29 +0000
committerDukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864>2010-01-31 06:15:29 +0000
commitaa4b3e256377030d291fc2d5f4db94985ce04395 (patch)
tree993302c0cbe754612f69c22bbbc57d00220cabd4 /src/regchannel.cpp
parent47504c9de5accda45a19627fd2b6ec13baa6ba95 (diff)
replaced the alog() command with a new type-safe and stream-based Alog()
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2777 5417fbe8-f217-4b02-8779-1006273d7864
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--;