mirror of
https://github.com/anope/anope.git
synced 2026-07-08 12:43:13 +02:00
Rewrote how commands are handled within Anope.
This allows naming commands and having spaces within command names.
This commit is contained in:
@@ -41,7 +41,7 @@ class ENone : public Module
|
||||
return EVENT_ALLOW;
|
||||
}
|
||||
|
||||
EventReturn OnCheckAuthentication(User *u, Command *c, const std::vector<Anope::string> ¶ms, const Anope::string &account, const Anope::string &password)
|
||||
EventReturn OnCheckAuthentication(Command *c, CommandSource *source, const std::vector<Anope::string> ¶ms, const Anope::string &account, const Anope::string &password)
|
||||
{
|
||||
NickAlias *na = findnick(account);
|
||||
NickCore *nc = na ? na->nc : NULL;
|
||||
|
||||
Reference in New Issue
Block a user