mirror of
https://github.com/anope/anope.git
synced 2026-07-01 13:46:38 +02:00
Rewrote some of the opertype system, added os_login
This commit is contained in:
@@ -30,7 +30,7 @@ class CommandNSSendPass : public Command
|
||||
const Anope::string &nick = params[0];
|
||||
NickAlias *na;
|
||||
|
||||
if (Config->RestrictMail && (!u->Account() || !u->Account()->HasCommand("nickserv/sendpass")))
|
||||
if (Config->RestrictMail && (!u->Account() || !u->HasCommand("nickserv/sendpass")))
|
||||
source.Reply(_(ACCESS_DENIED));
|
||||
else if (!(na = findnick(nick)))
|
||||
source.Reply(_(NICK_X_NOT_REGISTERED), nick.c_str());
|
||||
|
||||
Reference in New Issue
Block a user