diff options
author | Adam <Adam@anope.org> | 2011-01-15 16:31:46 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-01-15 16:31:46 -0500 |
commit | a2f5edf97722a6b5eaa9f7241f1bc6c041964d3e (patch) | |
tree | 31629ae90665cd2fe7a29549d79a7e19ef27bd9f | |
parent | 2631eb2e48b121aa61af88ac68c59478e93f484b (diff) |
Fixed /ns confirm's log message to show the nick of who was confirmed
(cherry picked from commit 1b6aab0cd7a341608fb34b6a23ccb2721fd981d5)
Conflicts:
modules/core/ns_register.cpp
-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 5633dadea..5582dea44 100644 --- a/modules/core/ns_register.cpp +++ b/modules/core/ns_register.cpp @@ -58,7 +58,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) u->SendMessage(NickServ, NICK_REGISTERED, u->nick.c_str(), na->nc->GetAccess(0).c_str()); else @@ -75,7 +75,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") << ")"; u->SendMessage(NickServ, NICK_FORCE_REG, nr->nick.c_str()); User *user = finduser(nr->nick); /* Delrequest must be called before validate_user */ |