1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 11:26:37 +02:00

Fixed some permission checking fail in modules that got messed up from the big commands sed

This commit is contained in:
Adam
2011-08-18 22:04:59 -04:00
parent 0cdca534a8
commit db340f96d6
9 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class CommandNSResetPass : public Command
User *u = source.u;
NickAlias *na;
if (Config->RestrictMail && (!u->Account() || !u->HasCommand("nickserv/nickserv/resetpass")))
if (Config->RestrictMail && (!u->Account() || !u->HasCommand("nickserv/resetpass")))
source.Reply(ACCESS_DENIED);
else if (!(na = findnick(params[0])))
source.Reply(NICK_X_NOT_REGISTERED, params[0].c_str());