diff options
Diffstat (limited to 'src/cmd_user.cpp')
-rw-r--r-- | src/cmd_user.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cmd_user.cpp b/src/cmd_user.cpp index 8c2b4fe64..7aa64b092 100644 --- a/src/cmd_user.cpp +++ b/src/cmd_user.cpp @@ -48,6 +48,7 @@ using namespace std; #include "typedefs.h" #include "command_parse.h" #include "cmd_user.h" +#include "cull_list.h" extern ServerConfig* Config; extern InspIRCd* ServerInstance; @@ -62,6 +63,8 @@ extern std::vector<userrec*> all_opers; extern std::vector<userrec*> local_users; extern userrec* fd_ref_table[65536]; +extern CullList* GlobalGoners; + void cmd_user::Handle (char **parameters, int pcnt, userrec *user) { log(DEBUG,"Handling USER from cmd_user class!"); @@ -92,7 +95,7 @@ void cmd_user::Handle (char **parameters, int pcnt, userrec *user) { /* user is registered now, bit 0 = USER command, bit 1 = sent a NICK command */ FOREACH_MOD(I_OnUserRegister,OnUserRegister(user)); - ConnectUser(user); + ConnectUser(user,GlobalGoners); } } |