Convert a &me to &his in ms_kick().
authorMichael Poole <mdpoole@troilus.org>
Wed, 17 Aug 2005 02:14:45 +0000 (02:14 +0000)
committerMichael Poole <mdpoole@troilus.org>
Wed, 17 Aug 2005 02:14:45 +0000 (02:14 +0000)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@1459 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/m_kick.c

index b33bec6b3b4b175e095d9b49a52cb9bb97286f56..a83e5c438c0f2b595473e5e47da832edce32aa42 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,8 @@
        * ircd/m_invite.c (m_invite): Likewise.
        (ms_invite): Likewise.
 
+       * ircd/m_kick.c (ms_kick): Likewise.
+
 2005-08-16  Jukka Ollila <jaollila@niksula.hut.fi>
 
        * ircd/s_user.c (hide_hostmask): Use HIS_SERVERNAME instead of the
index f77bee5d7e76deed972bae0e410fe238360cc41f..076eafbc8b0183e248e2ac395e828dc541537ba0 100644 (file)
@@ -246,7 +246,7 @@ int ms_kick(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
                          comment);
 
     if (member) { /* and tell the channel about it */
-      sendcmdto_channel_butserv_butone(IsServer(sptr) ? &me : sptr, CMD_KICK,
+      sendcmdto_channel_butserv_butone(IsServer(sptr) ? &his : sptr, CMD_KICK,
                                       chptr, NULL, 0, "%H %C :%s", chptr, who,
                                       comment);