aboutsummaryrefslogtreecommitdiffstats
path: root/query.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 /query.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 'query.c')
-rw-r--r--query.c6
1 files changed, 3 insertions, 3 deletions
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 );
}
}