+2005-10-01 Michael Poole <mdpoole@troilus.org>
+
+ * ircd/m_kick.c (ms_kick): If the kick target is join-delayed,
+ only send the KICK to the kicker. Spotted by Cesar_.
+
2005-10-01 Michael Poole <mdpoole@troilus.org>
* include/patchlevel.h (PATCHLEVEL): Update to pre1.
comment);
if (member) { /* and tell the channel about it */
- sendcmdto_channel_butserv_butone(IsServer(sptr) ? &his : sptr, CMD_KICK,
- chptr, NULL, 0, "%H %C :%s", chptr, who,
- comment);
+ if (IsDelayedJoin(member)) {
+ if (MyUser(who))
+ sendcmdto_one(IsServer(sptr) ? &his : sptr, CMD_KICK,
+ who, "%h %C :%s", chptr, who, comment);
+ } else {
+ sendcmdto_channel_butserv_butone(IsServer(sptr) ? &his : sptr, CMD_KICK,
+ chptr, NULL, 0, "%H %C :%s", chptr, who,
+ comment);
+ }
make_zombie(member, who, cptr, sptr, chptr);
}