aboutsummaryrefslogtreecommitdiffstats
path: root/irc_channel.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-07-24 17:58:27 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2010-07-24 17:58:27 +0200
commite135cd0997fb88ae644e63b6b7457ba08a60661a (patch)
treebae78b4045df81686a5a8c569360899a820f8e1b /irc_channel.c
parent40e6dac45f29a4c2cc64ce55eecef03d0b185bd5 (diff)
Use the account tag in a few places and store it in the XML file as an
attribute, not as a setting (since all accounts have it anyway).
Diffstat (limited to 'irc_channel.c')
-rw-r--r--irc_channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc_channel.c b/irc_channel.c
index 536b2de1..5d504f66 100644
--- a/irc_channel.c
+++ b/irc_channel.c
@@ -578,7 +578,7 @@ static char *set_eval_by_account( set_t *set, char *value )
if( icc->type == IRC_CC_TYPE_ACCOUNT )
bee_irc_channel_update( ic->irc, ic, NULL );
- return g_strdup_printf( "%s(%s)", acc->prpl->name, acc->user );
+ return g_strdup( acc->tag );
}
static char *set_eval_fill_by( set_t *set, char *value )