mirror of
https://github.com/anope/anope.git
synced 2026-06-28 06:36:38 +02:00
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.
This commit is contained in:
+3
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user