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:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user