summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-09-11 22:47:36 -0400
committerAdam <Adam@anope.org>2010-09-11 22:47:36 -0400
commite30370af107e4ae46c5287c7cfa01b679bcc25b3 (patch)
tree6953bbe0110abd2cfe1baa0158fda5d74d477a57 /src/users.cpp
parent89c5b203c331ab7c2986c93fd77fcc39c04d1d07 (diff)
Allow identifying to other accounts using /nickserv id account pass
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index e5fe7ee04..362ad1717 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -753,6 +753,7 @@ User *do_nick(const Anope::string &source, const Anope::string &nick, const Anop
user->UpdateHost();
do_on_id(user);
ircdproto->SetAutoIdentificationToken(user);
+ user->SetMode(NickServ, UMODE_REGISTERED);
Log() << Config->s_NickServ << ": " << user->GetMask() << " automatically identified for group " << user->Account()->display;
}