Changeset 18da20b for irc_im.c


Ignore:
Timestamp:
2010-06-06T00:33:33Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
1f0224c
Parents:
c1a8a16
Message:

Added /part msgs, and the ability to silently remove users from channels
(when sending a /quit instead, for example).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_im.c

    rc1a8a16 r18da20b  
    160160        if( !show )
    161161        {
    162                 irc_channel_del_user( ic, iu );
     162                irc_channel_del_user( ic, iu, FALSE, NULL );
    163163        }
    164164        else
     
    368368        /* irc_channel_free( ic ); */
    369369       
    370         irc_channel_del_user( ic, ic->irc->user );
     370        irc_channel_del_user( ic, ic->irc->user, FALSE, "Chatroom closed by server" );
    371371        ic->data = NULL;
    372372       
     
    412412        irc_t *irc = bee->ui_data;
    413413       
    414         irc_channel_del_user( c->ui_data, bu == bee->user ? irc->user : bu->ui_data );
     414        irc_channel_del_user( c->ui_data, bu == bee->user ? irc->user : bu->ui_data, FALSE, NULL );
    415415       
    416416        return TRUE;
Note: See TracChangeset for help on using the changeset viewer.