Changeset fd45e1d1
- Timestamp:
- 2010-05-08T14:12:32Z (15 years ago)
- Branches:
- master
- Children:
- 4a9fd5f
- Parents:
- b0364dc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
rb0364dc rfd45e1d1 636 636 irc_umode_set( irc, "+" UMODE, TRUE ); 637 637 638 ic = irc _channel_new( irc, ROOT_CHAN );638 ic = irc->default_channel = irc_channel_new( irc, ROOT_CHAN ); 639 639 irc_channel_set_topic( ic, CONTROL_TOPIC, irc->root ); 640 640 irc_channel_add_user( ic, irc->user ); -
irc.h
rb0364dc rfd45e1d1 78 78 79 79 GSList *users, *channels; 80 struct irc_channel *default_channel; 80 81 GHashTable *nick_user_hash; 81 82 GHashTable *watches; … … 130 131 { 131 132 IRC_CHANNEL_JOINED = 1, 133 IRC_CHANNEL_CONTACTS = 256, 132 134 } irc_channel_flags_t; 133 135 -
irc_im.c
rb0364dc rfd45e1d1 81 81 irc_t *irc = bee->ui_data; 82 82 irc_user_t *iu = bu->ui_data; 83 irc_channel_t *ic = irc-> channels->data; /* For now, just pick the first channel. */83 irc_channel_t *ic = irc->default_channel; 84 84 85 85 /* Do this outside the if below since away state can change without … … 119 119 { 120 120 irc_t *irc = bee->ui_data; 121 irc_channel_t *ic = irc-> channels->data;121 irc_channel_t *ic = irc->default_channel; 122 122 irc_user_t *iu = (irc_user_t *) bu->ui_data; 123 123 char *dst, *prefix = NULL; … … 410 410 static gboolean bee_irc_channel_chat_topic( irc_channel_t *ic, const char *new ) 411 411 { 412 return TRUE; 412 413 } 413 414
Note: See TracChangeset
for help on using the changeset viewer.