aboutsummaryrefslogtreecommitdiffstats
path: root/query.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2011-12-17 14:50:01 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2011-12-17 14:50:01 +0100
commit6e9ae727bcd95eb820fa28becaf9f79ac463de5f (patch)
tree2d1d2a0f511d1356caf4a3f7c29c1578f0583a95 /query.c
parent87dddee3a14d7755204d6fc4b321729bad02ce4e (diff)
parent17f057d70b1513710e3d765969205625f0fc7b76 (diff)
Mainline merge.
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 );
}
}