mirror of
https://github.com/anope/anope.git
synced 2026-07-08 11:43:14 +02:00
Rewrote how commands are handled within Anope.
This allows naming commands and having spaces within command names.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
#include "services.h"
|
||||
#include "modules.h"
|
||||
#include "nickserv.h"
|
||||
#include "oper.h"
|
||||
|
||||
/* inspircd-ts6.h uses these */
|
||||
static bool has_chghostmod = false;
|
||||
@@ -280,7 +281,7 @@ bool event_metadata(const Anope::string &source, const std::vector<Anope::string
|
||||
|
||||
NickAlias *user_na = findnick(u->nick);
|
||||
if (nickserv && user_na && user_na->nc == nc && user_na->nc->HasFlag(NI_UNCONFIRMED) == false)
|
||||
u->SetMode(nickserv->Bot(), UMODE_REGISTERED);
|
||||
u->SetMode(findbot(Config->NickServ), UMODE_REGISTERED);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user