Changeset 18da20b for irc_channel.c
- Timestamp:
- 2010-06-06T00:33:33Z (13 years ago)
- Branches:
- master
- Children:
- 1f0224c
- Parents:
- c1a8a16
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_channel.c
rc1a8a16 r18da20b 81 81 82 82 if( ic->flags & IRC_CHANNEL_JOINED ) 83 irc_channel_del_user( ic, irc->user );83 irc_channel_del_user( ic, irc->user, FALSE, "Cleaning up channel" ); 84 84 85 85 irc->channels = g_slist_remove( irc->channels, ic ); … … 142 142 } 143 143 144 int irc_channel_del_user( irc_channel_t *ic, irc_user_t *iu )144 int irc_channel_del_user( irc_channel_t *ic, irc_user_t *iu, gboolean silent, const char *msg ) 145 145 { 146 146 irc_channel_user_t *icu; … … 152 152 g_free( icu ); 153 153 154 if( ic->flags & IRC_CHANNEL_JOINED )155 irc_send_part( ic, iu, "");154 if( ic->flags & IRC_CHANNEL_JOINED && !silent ) 155 irc_send_part( ic, iu, msg ); 156 156 157 157 if( iu == ic->irc->user )
Note: See TracChangeset
for help on using the changeset viewer.