From 75d690dda144486f6d0463cfc5f6ff398712267f Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 14 Apr 2005 15:56:17 +0000 Subject: Added ability for modules to hold users in a 'holding pattern' while they do stuff on connect git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1088 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index fb10243d0..635000974 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1130,7 +1130,6 @@ void handle_user(char **parameters, int pcnt, userrec *user) WriteServ(user->fd,"461 %s USER :Not enough parameters",user->nick); } else { - WriteServ(user->fd,"NOTICE Auth :No ident response, ident prefixed with ~"); strcpy(user->ident,"~"); /* we arent checking ident... but these days why bother anyway? */ strlcat(user->ident,parameters[0],IDENTMAX); strlcpy(user->fullname,parameters[3],128); @@ -1146,6 +1145,7 @@ void handle_user(char **parameters, int pcnt, userrec *user) if (user->registered == 3) { /* user is registered now, bit 0 = USER command, bit 1 = sent a NICK command */ + FOREACH_MOD OnUserRegister(user); ConnectUser(user); } } @@ -1764,11 +1764,11 @@ void handle_nick(char **parameters, int pcnt, userrec *user) user->dns_done = (!lookup_dns(user->nick)); if (user->dns_done) log(DEBUG,"Aborting dns lookup of %s because dns server experienced a failure.",user->nick); - FOREACH_MOD OnUserRegister(user); } if (user->registered == 3) { /* user is registered now, bit 0 = USER command, bit 1 = sent a NICK command */ + FOREACH_MOD OnUserRegister(user); ConnectUser(user); } if (user->registered == 7) -- cgit v1.3.1-10-gc9f91