1
0
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:
Adam
2011-07-14 02:31:12 -04:00
parent 924f6849fe
commit f858164dee
227 changed files with 8808 additions and 12352 deletions
+2 -1
View File
@@ -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);
}
}