From 1b6aab0cd7a341608fb34b6a23ccb2721fd981d5 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 15 Jan 2011 16:13:31 -0500 Subject: Fixed /ns confirm's log message to show the nick of who was confirmed --- modules/core/ns_register.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/core') diff --git a/modules/core/ns_register.cpp b/modules/core/ns_register.cpp index ee6daca29..0a5a5f641 100644 --- a/modules/core/ns_register.cpp +++ b/modules/core/ns_register.cpp @@ -50,7 +50,7 @@ class CommandNSConfirm : public Command if (!force) { u->Login(na->nc); - Log(LOG_COMMAND, u, this) << "to register " << u->nick << " (email: " << (!nr->email.empty() ? nr->email : "none") << ")"; + Log(LOG_COMMAND, u, this) << "to register " << nr->nick << " (email: " << (!nr->email.empty() ? nr->email : "none") << ")"; if (Config->NSAddAccessOnReg) source.Reply(NICK_REGISTERED, u->nick.c_str(), na->nc->GetAccess(0).c_str()); else @@ -67,7 +67,7 @@ class CommandNSConfirm : public Command } else { - Log(LOG_COMMAND, u, this) << "to confirm " << u->nick << " (email: " << (!nr->email.empty() ? nr->email : "none") << ")"; + Log(LOG_COMMAND, u, this) << "to confirm " << nr->nick << " (email: " << (!nr->email.empty() ? nr->email : "none") << ")"; source.Reply(NICK_FORCE_REG, nr->nick.c_str()); User *user = finduser(nr->nick); /* Delrequest must be called before validate_user */ -- cgit