Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / list.c
index b01305852b5f0f0dc8d4a312b85ff69baf350828..7d4a15e4ad9eb0d6f8383cc520a8970245e43644 100644 (file)
@@ -245,6 +245,7 @@ struct Client* make_client(struct Client *from, int status)
     cli_connect(cptr) = con; /* set the connection and other fields */
     cli_since(cptr) = cli_lasttime(cptr) = cli_firsttime(cptr) = CurrentTime;
     cli_lastnick(cptr) = TStime();
+    cli_unreg(cptr) = CLIREG_INIT;
   } else
     cli_connect(cptr) = cli_connect(from); /* use 'from's connection */