summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-07-01 22:17:52 -0400
committerAdam <Adam@anope.org>2013-07-01 22:17:52 -0400
commit1a3d9a016d3adc49788bbff73aac9b3b5ea85b17 (patch)
treec0ecf92ed768473bc82ff64a7fce827245f37ba9 /src/users.cpp
parent518182ac9204f815258b0de91b3f884d8efa1502 (diff)
Change extensible keys to require explicitly having a type defined for it. Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index cd3c6b50f..7f9a49049 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -301,7 +301,6 @@ void User::Identify(NickAlias *na)
}
this->Login(na->nc);
- IRCD->SendLogin(this);
FOREACH_MOD(OnNickIdentify, (this));
@@ -336,6 +335,8 @@ void User::Login(NickCore *core)
this->UpdateHost();
+ IRCD->SendLogin(this);
+
if (this->server->IsSynced())
Log(this, "account") << "is now identified as " << this->nc->display;
@@ -378,7 +379,7 @@ bool User::IsRecognized(bool check_secure) const
{
const NickAlias *na = NickAlias::Find(this->nick);
- if (!na || na->nc->HasExt("SECURE"))
+ if (!na || na->nc->HasExt("NS_SECURE"))
return false;
}