diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2011-10-20 23:00:54 -0400 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2011-10-20 23:00:54 -0400 |
commit | 3864c0814cc3e86a8035d27558f6d66af836a5a3 (patch) | |
tree | 096e09b8961ef849f9a82b507012de94f99ea51d /query.c | |
parent | 6a451817589df092ef5121bbe2c7156d2d01f669 (diff) | |
parent | aea22cd1e0e955848c143a8fc36978391e9a4846 (diff) |
Big merge from pesco, closing some OTR issues: #759, #824, #839, #830.
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 ); } } |