Cosmetic changes to banning bare IPv6 addresses and kicking +D-hidden users.
[ircu2.10.12-pk.git] / ircd / m_kick.c
index 40ec73fab0d5d68068dcb0da43addbd8a879844e..f77bee5d7e76deed972bae0e410fe238360cc41f 100644 (file)
@@ -160,6 +160,7 @@ int m_kick(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
      * the kicking and the victim */
     if (MyUser(who))
       sendcmdto_one(sptr, CMD_KICK, who, "%H %C :%s", chptr, who, comment);
+    sendcmdto_one(who, CMD_JOIN, sptr, "%H", chptr);
     sendcmdto_one(sptr, CMD_KICK, sptr, "%H %C :%s", chptr, who, comment);
     CheckDelayedJoins(chptr);
   } else