Bump PATCHLEVEL for .12 release.
[ircu2.10.12-pk.git] / ircd / m_kick.c
index 813dfc430f746dcb717bb2cd7a5816f90bd51d35..2c95a8ea344906deb0f8a367ecf0662c92741398 100644 (file)
@@ -213,7 +213,7 @@ int ms_kick(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
   /* 2002-10-17: Don't send HACK if the users local server is kicking them */
   if (IsServer(sptr) &&
       !IsBurstOrBurstAck(sptr) &&
-      sptr!=cli_from(who))
+      sptr!=cli_user(who)->server)
     sendto_opmask_butone(0, SNO_HACK4, "HACK: %C KICK %H %C %s", sptr, chptr,
                         who, comment);