Changeset 63a520b for irc_channel.c
- Timestamp:
- 2010-03-27T03:11:02Z (15 years ago)
- Branches:
- master
- Children:
- b95932e
- Parents:
- b9e020a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_channel.c
rb9e020a r63a520b 60 60 } 61 61 62 int irc_channel_free( irc_channel_t *ic ) 63 { 64 irc_t *irc = ic->irc; 65 66 if( ic->flags & IRC_CHANNEL_JOINED ) 67 irc_channel_del_user( ic, irc->user ); 68 69 irc->channels = g_slist_remove( irc->channels, ic ); 70 g_slist_free( ic->users ); 71 72 g_free( ic->name ); 73 g_free( ic->topic ); 74 g_free( ic ); 75 76 return 1; 77 } 78 62 79 int irc_channel_add_user( irc_channel_t *ic, irc_user_t *iu ) 63 80 {
Note: See TracChangeset
for help on using the changeset viewer.