From d2362719b256f556b862a85dd73a806ccc2faebe Mon Sep 17 00:00:00 2001 From: Adam- Date: Fri, 30 Oct 2009 17:13:50 +0000 Subject: Made do_nick return the user if I_OnPreUserConnect halts it if the user still exists, and removed unused defcon language string git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2600 5417fbe8-f217-4b02-8779-1006273d7864 --- src/users.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/users.c b/src/users.c index 65d2f7831..08c1b12c1 100644 --- a/src/users.c +++ b/src/users.c @@ -693,7 +693,7 @@ User *do_nick(const char *source, const char *nick, const char *username, const EventReturn MOD_RESULT; FOREACH_RESULT(I_OnPreUserConnect, OnPreUserConnect(user)); if (MOD_RESULT == EVENT_STOP) - return NULL; + return finduser(nick); check_akill(nick, username, host, vhost, ipbuf); -- cgit