Changeset bfb99ee
- Timestamp:
- 2010-05-08T12:13:23Z (15 years ago)
- Branches:
- master
- Children:
- d343eaa
- Parents:
- a87754b
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.h
ra87754b rbfb99ee 153 153 { 154 154 gboolean (*privmsg)( irc_channel_t *ic, const char *msg ); 155 gboolean (*join)( irc_channel_t *ic ); 156 gboolean (*part)( irc_channel_t *ic, const char *msg ); 157 gboolean (*topic)( irc_channel_t *ic, const char *new ); 155 158 }; 156 159 -
irc_channel.c
ra87754b rbfb99ee 123 123 124 124 if( iu == ic->irc->user ) 125 { 125 126 ic->flags &= ~IRC_CHANNEL_JOINED; 127 if( ic->f->part ) 128 ic->f->part( ic, NULL ); 129 } 126 130 127 131 return 1; -
irc_im.c
ra87754b rbfb99ee 339 339 340 340 /* IRC->IM */ 341 342 341 static gboolean bee_irc_channel_chat_privmsg( irc_channel_t *ic, const char *msg ) 343 342 { … … 345 344 346 345 bee_chat_msg( ic->irc->b, c, msg, 0 ); 346 347 return TRUE; 348 349 } 350 351 static gboolean bee_irc_channel_chat_part( irc_channel_t *ic, const char *msg ) 352 { 353 struct groupchat *c = ic->data; 354 355 if( c->ic->acc->prpl->chat_leave ) 356 c->ic->acc->prpl->chat_leave( c ); 347 357 348 358 return TRUE; … … 352 362 static const struct irc_channel_funcs irc_channel_im_chat_funcs = { 353 363 bee_irc_channel_chat_privmsg, 364 NULL, 365 bee_irc_channel_chat_part, 354 366 }; 355 367
Note: See TracChangeset
for help on using the changeset viewer.