Changeset 9ac3ed1 for irc_channel.c
- Timestamp:
- 2010-05-09T17:20:51Z (14 years ago)
- Branches:
- master
- Children:
- 7aadd71
- Parents:
- dcd16c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_channel.c
rdcd16c5 r9ac3ed1 53 53 else /* if( name[0] == '#' ) */ 54 54 ic->f = &groupchat_stub_funcs; 55 56 if( ic->f->_init ) 57 if( !ic->f->_init( ic ) ) 58 { 59 irc_channel_free( ic ); 60 return NULL; 61 } 55 62 56 63 return ic; … … 249 256 } 250 257 258 static gboolean control_channel_init( irc_channel_t *ic ) 259 { 260 struct irc_control_channel *icc; 261 262 ic->data = icc = g_new0( struct irc_control_channel, 1 ); 263 icc->type = IRC_CC_TYPE_DEFAULT; 264 265 return TRUE; 266 } 267 251 268 static const struct irc_channel_funcs control_channel_funcs = { 252 269 control_channel_privmsg, 270 NULL, 271 NULL, 272 NULL, 273 NULL, 274 275 control_channel_init, 253 276 }; 254 277
Note: See TracChangeset
for help on using the changeset viewer.