diff options
author | Adam <Adam@anope.org> | 2011-01-15 16:13:31 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-01-15 16:13:31 -0500 |
commit | 1b6aab0cd7a341608fb34b6a23ccb2721fd981d5 (patch) | |
tree | 52ffe2b8c4e66cd3624856d87b221fed91640e64 | |
parent | c669820481b8c431f4238d6b2d958e9dbfec411a (diff) |
Fixed /ns confirm's log message to show the nick of who was confirmed
-rw-r--r-- | modules/core/ns_register.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |