diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2011-12-17 14:50:01 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2011-12-17 14:50:01 +0100 |
commit | 6e9ae727bcd95eb820fa28becaf9f79ac463de5f (patch) | |
tree | 2d1d2a0f511d1356caf4a3f7c29c1578f0583a95 /irc_commands.c | |
parent | 87dddee3a14d7755204d6fc4b321729bad02ce4e (diff) | |
parent | 17f057d70b1513710e3d765969205625f0fc7b76 (diff) |
Mainline merge.
Diffstat (limited to 'irc_commands.c')
-rw-r--r-- | irc_commands.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/irc_commands.c b/irc_commands.c index a1933fa6..52cf31d0 100644 --- a/irc_commands.c +++ b/irc_commands.c @@ -91,7 +91,7 @@ static void irc_cmd_nick( irc_t *irc, char **cmd ) irc_setpass( irc, NULL ); irc->status &= ~USTATUS_IDENTIFIED; irc_umode_set( irc, "-R", 1 ); - irc_usermsg( irc, "Changing nicks resets your identify status. " + irc_rootmsg( irc, "Changing nicks resets your identify status. " "Re-identify or register a new account if you want " "your configuration to be saved. See \x02help " "nick_changes\x02." ); @@ -432,13 +432,13 @@ static void irc_cmd_oper_hack( irc_t *irc, char **cmd ) if( strcmp( a->pass, PASSWORD_PENDING ) == 0 ) { set_setstr( &a->set, "password", password ); - irc_usermsg( irc, "Password added to IM account " - "%s(%s)", a->prpl->name, a->user ); + irc_rootmsg( irc, "Password added to IM account " + "%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 ) |