From cea53460b02f51c1d91540f4d371262bf8bdfa63 Mon Sep 17 00:00:00 2001 From: phil-lavin Date: Fri, 4 Jun 2010 09:57:54 +0000 Subject: Moved EVENT_CHANGE_NICK call to after anope_cmd_nc_change() call Added user identified check to validate_user() to prevent identified user being told to identify git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2999 5417fbe8-f217-4b02-8779-1006273d7864 --- src/nickserv.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/nickserv.c') diff --git a/src/nickserv.c b/src/nickserv.c index 8b15d9920..1033e8596 100644 --- a/src/nickserv.c +++ b/src/nickserv.c @@ -1008,6 +1008,9 @@ int validate_user(User * u) return 0; } + if (na->status & NS_IDENTIFIED) + return 1; + on_access = is_on_access(u, na->nc); if (on_access) na->status |= NS_ON_ACCESS; -- cgit