summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
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 d4b1e15f2..b89e6c271 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -741,6 +741,7 @@ User *do_nick(const Anope::string &source, const Anope::string &nick, const Anop
if (!vhost.empty())
user->SetCloakedHost(vhost);
user->SetVIdent(username);
+ user->SetModesInternal(modes.c_str());
if (!ip.empty())
{