diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.c b/src/commands.c index ad6a154d6..0bbf23ba6 100644 --- a/src/commands.c +++ b/src/commands.c @@ -150,7 +150,7 @@ void mod_run_cmd(char *service, User * u, CommandHash * cmdTable[], const char * // If the command requires a permission, and they aren't registered or don't have the required perm, DENIED if (!c->permission.empty()) { - if (!u->nc->HasPriv(c->permission) && !u->nc->HasCommand(c->permission)) + if (!u->nc->HasCommand(c->permission)) { notice_lang(service, u, ACCESS_DENIED); alog("Access denied for user %s with service %s and command %s", u->nick, service, cmd); |