- Timestamp:
- 2010-05-08T13:11:09Z (14 years ago)
- Branches:
- master
- Children:
- b0364dc
- Parents:
- d343eaa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc_im.c
rd343eaa r9e27f18 338 338 } 339 339 340 static gboolean bee_irc_chat_topic( bee_t *bee, struct groupchat *c, const char *new, bee_user_t *bu ) 341 { 342 irc_t *irc = bee->ui_data; 343 irc_user_t *iu; 344 345 if( bu == NULL ) 346 iu = irc->root; 347 else if( bu == bee->user ) 348 iu = irc->user; 349 else 350 iu = bu->ui_data; 351 352 irc_channel_set_topic( c->ui_data, new, iu ); 353 354 return TRUE; 355 } 356 340 357 static gboolean bee_irc_chat_name_hint( bee_t *bee, struct groupchat *c, const char *name ) 341 358 { … … 391 408 } 392 409 410 static gboolean bee_irc_channel_chat_topic( irc_channel_t *ic, const char *new ) 411 { 412 } 413 393 414 static const struct irc_channel_funcs irc_channel_im_chat_funcs = { 394 415 bee_irc_channel_chat_privmsg, 395 416 NULL, /* join */ 396 417 bee_irc_channel_chat_part, 397 NULL, /* topic */418 bee_irc_channel_chat_topic, 398 419 }; 399 420 … … 439 460 bee_irc_chat_add_user, 440 461 bee_irc_chat_remove_user, 462 bee_irc_chat_topic, 441 463 bee_irc_chat_name_hint, 442 464
Note: See TracChangeset
for help on using the changeset viewer.