aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.c
diff options
context:
space:
mode:
authorunknown <pesco@khjk.org>2011-10-03 16:56:58 +0200
committerunknown <pesco@khjk.org>2011-10-03 16:56:58 +0200
commite67e513a16f3e545fd71eb176aac83d41a1dc271 (patch)
tree683d2e0eee6cba46226442762ac55f793259fb6c /irc_commands.c
parent3231485f983ea5bffe425205abfb059ee62b0168 (diff)
rename irc_usermsg to irc_rootmsg.
add new irc_usermsg, irc_usernotice. deliver user-specific messages from libotr as notices to that user.
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 a1933fa6..144f6589 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,7 +432,7 @@ 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 "
+ irc_rootmsg( irc, "Password added to IM account "
"%s(%s)", a->prpl->name, a->user );
/* The IRC client may expect this. 491 suggests the OPER
password was wrong, so the client won't expect a +o.