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 a9ab5f052..9501640c7 100644 --- a/src/commands.c +++ b/src/commands.c @@ -75,7 +75,7 @@ void mod_run_cmd(char *service, User * u, CommandHash * cmdTable[], const char * if (!c->HasFlag(CFLAG_ALLOW_UNREGISTERED)) { // Command requires registered users only - if (!u->na || !u->na->nc) + if (!nick_identified(u)) { // XXX: we should have a new string for this notice_lang(service, u, ACCESS_DENIED); |