diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2007-12-12 23:30:51 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2007-12-12 23:30:51 +0000 |
commit | 30ce1ced040c44c528d0a6e6e9c6b10a1caf1052 (patch) | |
tree | d2dd16bb5c39da490ea4f2895516e72c115a343e /account.c | |
parent | d52111a7b05657e4a4fa8417e6655389a50769cf (diff) |
Killed the <server> parameter to "account add" and changed the default
server for OSCAR to what both login.icq.com and login.oscar.aol.com resolve
to these days. There's no need to specify a server anymore so why bother.
And cleaned up the docs (removed all references to those OSCAR servers).
Diffstat (limited to 'account.c')
-rw-r--r-- | account.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -94,10 +94,15 @@ char *set_eval_account( set_t *set, char *value ) { g_free( acc->server ); if( *value ) + { acc->server = g_strdup( value ); + return value; + } else + { acc->server = NULL; - return value; + return g_strdup( set->def ); + } } else if( strcmp( set->key, "auto_connect" ) == 0 ) { |