diff options
author | unknown <pesco@khjk.org> | 2011-10-03 16:56:58 +0200 |
---|---|---|
committer | unknown <pesco@khjk.org> | 2011-10-03 16:56:58 +0200 |
commit | e67e513a16f3e545fd71eb176aac83d41a1dc271 (patch) | |
tree | 683d2e0eee6cba46226442762ac55f793259fb6c /query.c | |
parent | 3231485f983ea5bffe425205abfb059ee62b0168 (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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 ); } } |