aboutsummaryrefslogtreecommitdiffstats
path: root/ipc.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2011-10-20 23:00:54 -0400
committerWilmer van der Gaast <wilmer@gaast.net>2011-10-20 23:00:54 -0400
commit3864c0814cc3e86a8035d27558f6d66af836a5a3 (patch)
tree096e09b8961ef849f9a82b507012de94f99ea51d /ipc.c
parent6a451817589df092ef5121bbe2c7156d2d01f669 (diff)
parentaea22cd1e0e955848c143a8fc36978391e9a4846 (diff)
Big merge from pesco, closing some OTR issues: #759, #824, #839, #830.
Diffstat (limited to 'ipc.c')
-rw-r--r--ipc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipc.c b/ipc.c
index 5da9d8e4..26102d46 100644
--- a/ipc.c
+++ b/ipc.c
@@ -355,7 +355,7 @@ static void ipc_child_cmd_takeover( irc_t *irc, char **cmd )
{
irc_switch_fd( irc, ipc_child_recv_fd );
irc_sync( irc );
- irc_usermsg( irc, "You've successfully taken over your old session" );
+ irc_rootmsg( irc, "You've successfully taken over your old session" );
ipc_child_recv_fd = -1;
ipc_to_master_str( "TAKEOVER DONE\r\n" );
@@ -373,7 +373,7 @@ static void ipc_child_cmd_takeover( irc_t *irc, char **cmd )
else if( strcmp( cmd[1], "FAIL" ) == 0 )
{
/* Master->New connection */
- irc_usermsg( irc, "Could not take over old session" );
+ irc_rootmsg( irc, "Could not take over old session" );
}
}
@@ -411,7 +411,7 @@ static void ipc_child_cmd_takeover_yes( void *data )
/* Drop credentials, we'll shut down soon and shouldn't overwrite
any settings. */
- irc_usermsg( irc, "Trying to take over existing session" );
+ irc_rootmsg( irc, "Trying to take over existing session" );
irc_desync( irc );