summaryrefslogtreecommitdiff
path: root/modules/commands
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-07-21 00:23:24 -0400
committerAdam <Adam@anope.org>2013-07-21 00:23:24 -0400
commit5aac04dffe1aafc3f6c26828844fdb6d42dc66c8 (patch)
tree1cb7a0f3c36322e83c58379f700646fffce5d82b /modules/commands
parent7480fbda2b308b914e942d36e9a29a9f7d7a5d5a (diff)
Move SendLogin() back to User::Identify, it was moved at some point? but doesn't as intended in ::Login
Diffstat (limited to 'modules/commands')
-rw-r--r--modules/commands/ns_register.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/commands/ns_register.cpp b/modules/commands/ns_register.cpp
index e8adec549..5f768f6cb 100644
--- a/modules/commands/ns_register.cpp
+++ b/modules/commands/ns_register.cpp
@@ -226,9 +226,7 @@ class CommandNSRegister : public Command
if (u)
{
- u->Login(nc);
- if (!nc->HasExt("UNCONFIRMED"))
- IRCD->SendLogin(u);
+ u->Identify(na);
u->lastnickreg = Anope::CurTime;
}
}