- Timestamp:
- 2010-06-03T10:41:03Z (14 years ago)
- Branches:
- master
- Children:
- 814aa52
- Parents:
- 3f81999 (diff), f9928cb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.c
r3f81999 r5f8ab6a9 81 81 } 82 82 83 static char *set_eval_away_status( set_t *set, char *value ) 84 { 85 irc_t *irc = set->data; 86 account_t *a; 87 88 g_free( set->value ); 89 set->value = g_strdup( value ); 90 91 for( a = irc->accounts; a; a = a->next ) 92 { 93 struct im_connection *ic = a->ic; 94 95 if( ic && ic->flags & OPT_LOGGED_IN ) 96 imc_away_send_update( ic ); 97 } 98 99 return value; 100 } 101 83 102 irc_t *irc_new( int fd ) 84 103 { … … 147 166 148 167 168 s = set_add( &irc->set, "away", NULL, set_eval_away_status, irc ); 169 s->flags |= SET_NULL_OK; 149 170 s = set_add( &irc->set, "auto_connect", "true", set_eval_bool, irc ); 150 s = set_add( &irc->set, "auto_reconnect", " false", set_eval_bool, irc );171 s = set_add( &irc->set, "auto_reconnect", "true", set_eval_bool, irc ); 151 172 s = set_add( &irc->set, "auto_reconnect_delay", "5*3<900", set_eval_account_reconnect_delay, irc ); 152 173 s = set_add( &irc->set, "buddy_sendbuffer", "false", set_eval_bool, irc );
Note: See TracChangeset
for help on using the changeset viewer.