1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 15:13:14 +02:00

Fixed /ns confirm's log message to show the nick of who was confirmed

(cherry picked from commit 1b6aab0cd7)

Conflicts:

	modules/core/ns_register.cpp
This commit is contained in:
Adam
2011-01-15 16:31:46 -05:00
parent 2631eb2e48
commit a2f5edf977
+2 -2
View File
@@ -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 */