aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2011-12-13 00:34:07 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2011-12-13 00:34:07 +0000
commit17f057d70b1513710e3d765969205625f0fc7b76 (patch)
treea246f60ad171749e575816c53e9b89e89cd60788 /irc_commands.c
parentb926d88bdbb7e1081fed880fbf8e9b9b7fcf519c (diff)
As I intended for a while already, use account tags everywhere instead of
"protocol(handle)". It's guaranteed to be unique and also shorter. It may suck for people who have multiple accounts and didn't change their tags, but that'll hopefully remind them to change them.
Diffstat (limited to 'irc_commands.c')
-rw-r--r--irc_commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/irc_commands.c b/irc_commands.c
index 144f6589..52cf31d0 100644
--- a/irc_commands.c
+++ b/irc_commands.c
@@ -433,12 +433,12 @@ static void irc_cmd_oper_hack( irc_t *irc, char **cmd )
{
set_setstr( &a->set, "password", password );
irc_rootmsg( irc, "Password added to IM account "
- "%s(%s)", a->prpl->name, a->user );
+ "%s", a->tag );
/* The IRC client may expect this. 491 suggests the OPER
password was wrong, so the client won't expect a +o.
It may however repeat the password prompt. We'll see. */
irc_send_num( irc, 491, ":Password added to IM account "
- "%s(%s)", a->prpl->name, a->user );
+ "%s", a->tag );
}
}
else if( irc->status & OPER_HACK_IDENTIFY )