1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 12:16:38 +02:00

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
This commit is contained in:
rburchell
2009-02-15 15:23:41 +00:00
parent f74036dc58
commit 0c985ee709
+1 -1
View File
@@ -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);