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/ns_ghost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/ns_ghost.c') diff --git a/src/core/ns_ghost.c b/src/core/ns_ghost.c index 6c4ee92fb..771dc6195 100644 --- a/src/core/ns_ghost.c +++ b/src/core/ns_ghost.c @@ -53,7 +53,7 @@ class CommandNSGhost : public Command notice_lang(Config.s_NickServ, u, ACCESS_DENIED); if (!res) { - alog("%s: GHOST: invalid password for %s by %s!%s@%s", Config.s_NickServ, nick, u->nick.c_str(), u->GetIdent().c_str(), u->host); + Alog() << Config.s_NickServ << ": GHOST: invalid password for " << nick << " by " << u->GetMask(); bad_password(u); } } -- cgit