aboutsummaryrefslogtreecommitdiffstats
path: root/account.c
diff options
context:
space:
mode:
Diffstat (limited to 'account.c')
-rw-r--r--account.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/account.c b/account.c
index 4e399e8a..186565dd 100644
--- a/account.c
+++ b/account.c
@@ -71,7 +71,7 @@ char *set_eval_account( set_t *set, char *value )
account_t *acc = set->data;
/* Double-check: We refuse to edit on-line accounts. */
- if( acc->gc )
+ if( set->flags & ACC_SET_OFFLINE_ONLY && acc->gc )
return NULL;
if( strcmp( set->key, "username" ) == 0 )