aboutsummaryrefslogtreecommitdiffstats
path: root/account.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-03-13 01:02:47 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2010-03-13 01:02:47 +0000
commit286b28eabf39d98d642c73c34a16a599e61dfc99 (patch)
treec1d152c5c3e0e8353b7097a5aa521a761c6fe976 /account.c
parent1be0d260da62542dd27b8a6f5d367a2e79191a8d (diff)
Added nick_source account setting to allow using full name fields for
generating nicknames instead of just the handle.
Diffstat (limited to 'account.c')
-rw-r--r--account.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/account.c b/account.c
index 99c3ff53..a844d229 100644
--- a/account.c
+++ b/account.c
@@ -54,6 +54,8 @@ account_t *account_add( irc_t *irc, struct prpl *prpl, char *user, char *pass )
s = set_add( &a->set, "auto_reconnect", "true", set_eval_bool, a );
+ s = set_add( &a->set, "nick_source", "handle", NULL, a );
+
s = set_add( &a->set, "password", NULL, set_eval_account, a );
s->flags |= ACC_SET_NOSAVE | SET_NULL_OK;