diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-15 15:23:41 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-15 15:23:41 +0000 |
commit | 0c985ee709dd0a342b120b7bd8d03c6172e0798a (patch) | |
tree | 1af747bdc162cc7f0fed83826911e491b5705e9d /src | |
parent | f74036dc585c4830eb874a74517808b1cf308e52 (diff) |
Check nick_identified() instead of u->na, as this may incorrectly treat people as identified.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2067 5417fbe8-f217-4b02-8779-1006273d7864
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); |