Changeset 6b56512 for irc_im.c


Ignore:
Timestamp:
2015-08-08T04:29:49Z (4 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
83f179d6
Parents:
4850065
git-author:
dequis <dx@…> (02-08-15 19:21:56)
git-committer:
dequis <dx@…> (08-08-15 04:29:49)
Message:

Pass 'reason' values around in imcb_chat_remove_buddy/chat_remove_user

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc_im.c

    r4850065 r6b56512  
    654654}
    655655
    656 static gboolean bee_irc_chat_remove_user(bee_t *bee, struct groupchat *c, bee_user_t *bu)
     656static gboolean bee_irc_chat_remove_user(bee_t *bee, struct groupchat *c, bee_user_t *bu, const char *reason)
    657657{
    658658        irc_t *irc = bee->ui_data;
     
    666666           using imcb_chat_free() and the channel was IRC_CHANNEL_TEMP, we get into
    667667           a broken state around here. */
    668         irc_channel_del_user(ic, bu == bee->user ? irc->user : bu->ui_data, IRC_CDU_PART, NULL);
     668        irc_channel_del_user(ic, bu == bee->user ? irc->user : bu->ui_data, IRC_CDU_PART, reason);
    669669
    670670        return TRUE;
Note: See TracChangeset for help on using the changeset viewer.