Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / m_user.c
index 4a1a9b9f4a80982d439268e3544af6ae1f8f903f..33dd470ce18c50d5f829cf0059d1eed779128f57 100644 (file)
  *            note:   it is guaranteed that parv[0]..parv[parc-1] are all
  *                    non-NULL pointers.
  */
+#include "config.h"
+
 #include "handlers.h"
 #include "client.h"
 #include "ircd.h"
 #include "ircd_chattr.h"
+#include "ircd_log.h"
 #include "ircd_reply.h"
 #include "ircd_string.h"
 #include "numeric.h"
@@ -92,7 +95,7 @@
 #include "s_user.h"
 #include "send.h"
 
-#include <assert.h>
+/* #include <assert.h> -- Now using assert in ircd_log.h */
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -145,7 +148,7 @@ int m_user(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
     /*
      * NICK and PONG already received, now we have USER...
      */
-    return register_user(cptr, sptr, cli_name(sptr), username, 0);
+    return register_user(cptr, sptr, cli_name(sptr), username);
   }
   else {
     ircd_strncpy(user->username, username, USERLEN);