diff options
author | Adam <Adam@anope.org> | 2010-09-11 22:47:36 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-09-11 22:47:36 -0400 |
commit | e30370af107e4ae46c5287c7cfa01b679bcc25b3 (patch) | |
tree | 6953bbe0110abd2cfe1baa0158fda5d74d477a57 /modules/core/ns_resetpass.cpp | |
parent | 89c5b203c331ab7c2986c93fd77fcc39c04d1d07 (diff) |
Allow identifying to other accounts using /nickserv id account pass
Diffstat (limited to 'modules/core/ns_resetpass.cpp')
-rw-r--r-- | modules/core/ns_resetpass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/core/ns_resetpass.cpp b/modules/core/ns_resetpass.cpp index a0efa373c..63c58d5ed 100644 --- a/modules/core/ns_resetpass.cpp +++ b/modules/core/ns_resetpass.cpp @@ -110,6 +110,7 @@ class NSResetPass : public Module u->Login(na->nc); ircdproto->SendAccountLogin(u, u->Account()); ircdproto->SetAutoIdentificationToken(u); + u->SetMode(NickServ, UMODE_REGISTERED); FOREACH_MOD(I_OnNickIdentify, OnNickIdentify(u)); Log(LOG_COMMAND, u, &commandnsresetpass) << "confirmed RESETPASS to forcefully identify to " << na->nick; |