Changeset 006a84f for irc_send.c


Ignore:
Timestamp:
2010-07-04T20:40:15Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
69b896b, 6c2404e
Parents:
f537044
Message:

Kick the user instead of parting him/her when cleaning up a channel. This is
what the older version also did so that Irssi won't clean up the window.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_send.c

    rf537044 r006a84f  
    158158}
    159159
     160void irc_send_kick( irc_channel_t *ic, irc_user_t *iu, irc_user_t *kicker, const char *reason )
     161{
     162        irc_write( ic->irc, ":%s!%s@%s KICK %s %s :%s", kicker->nick, kicker->user,
     163                   kicker->host, ic->name, iu->nick, reason ? : "" );
     164}
     165
    160166void irc_send_names( irc_channel_t *ic )
    161167{
Note: See TracChangeset for help on using the changeset viewer.