aboutsummaryrefslogtreecommitdiffstats
path: root/account.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2007-12-12 23:30:51 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2007-12-12 23:30:51 +0000
commit30ce1ced040c44c528d0a6e6e9c6b10a1caf1052 (patch)
treed2dd16bb5c39da490ea4f2895516e72c115a343e /account.c
parentd52111a7b05657e4a4fa8417e6655389a50769cf (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.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/account.c b/account.c
index 388d04d0..4eb78faa 100644
--- a/account.c
+++ b/account.c
@@ -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 )
{