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_group.cpp | |
parent | 89c5b203c331ab7c2986c93fd77fcc39c04d1d07 (diff) |
Allow identifying to other accounts using /nickserv id account pass
Diffstat (limited to 'modules/core/ns_group.cpp')
-rw-r--r-- | modules/core/ns_group.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/core/ns_group.cpp b/modules/core/ns_group.cpp index 6bb187908..7c0802e37 100644 --- a/modules/core/ns_group.cpp +++ b/modules/core/ns_group.cpp @@ -118,6 +118,7 @@ class CommandNSGroup : public Command u->Login(na->nc); FOREACH_MOD(I_OnNickGroup, OnNickGroup(u, target)); ircdproto->SetAutoIdentificationToken(u); + u->SetMode(NickServ, UMODE_REGISTERED); Log(LOG_COMMAND, u, this) << "makes " << u->nick << " join group of " << target->nick << " (" << target->nc->display << ") (email: " << (!target->nc->email.empty() ? target->nc->email : "none") << ")"; notice_lang(Config->s_NickServ, u, NICK_GROUP_JOINED, target->nick.c_str()); |