From aa4b3e256377030d291fc2d5f4db94985ce04395 Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Sun, 31 Jan 2010 06:15:29 +0000 Subject: 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 --- src/core/enc_sha1.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/enc_sha1.c') diff --git a/src/core/enc_sha1.c b/src/core/enc_sha1.c index bcf289f0a..95f7083ee 100644 --- a/src/core/enc_sha1.c +++ b/src/core/enc_sha1.c @@ -211,8 +211,7 @@ class ESHA1 : public Module b64_encode(digest, 20, cpass, 1000); buf.append(cpass); - if (debug > 1) - alog("debug: (enc_sha1) hashed password from [%s] to [%s] ", src.c_str(), buf.c_str()); + Alog(LOG_DEBUG_2) << "(enc_sha1) hashed password from [" << src << "] to [" << buf << "]"; dest.assign(buf); return EVENT_ALLOW; } -- cgit