From e67e513a16f3e545fd71eb176aac83d41a1dc271 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 3 Oct 2011 16:56:58 +0200 Subject: rename irc_usermsg to irc_rootmsg. add new irc_usermsg, irc_usernotice. deliver user-specific messages from libotr as notices to that user. --- query.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'query.c') diff --git a/query.c b/query.c index 9429f2d2..aa03b8b5 100644 --- a/query.c +++ b/query.c @@ -149,7 +149,7 @@ void query_answer( irc_t *irc, query_t *q, int ans ) if( q->ic ) imcb_log( q->ic, "Accepted: %s", q->question ); else - irc_usermsg( irc, "Accepted: %s", q->question ); + irc_rootmsg( irc, "Accepted: %s", q->question ); if( q->yes ) q->yes( q->data ); } @@ -158,7 +158,7 @@ void query_answer( irc_t *irc, query_t *q, int ans ) if( q->ic ) imcb_log( q->ic, "Rejected: %s", q->question ); else - irc_usermsg( irc, "Rejected: %s", q->question ); + irc_rootmsg( irc, "Rejected: %s", q->question ); if( q->no ) q->no( q->data ); } @@ -178,7 +178,7 @@ static void query_display( irc_t *irc, query_t *q ) } else { - irc_usermsg( irc, "New request: %s\nYou can use the \2yes\2/\2no\2 commands to accept/reject this request.", q->question ); + irc_rootmsg( irc, "New request: %s\nYou can use the \2yes\2/\2no\2 commands to accept/reject this request.", q->question ); } } -- cgit v1.2.3