aboutsummaryrefslogtreecommitdiffstats
path: root/query.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2005-11-16 15:22:22 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2005-11-16 15:22:22 +0100
commitea85a0b99185c53fac40c2150937d5e1a2ca546a (patch)
tree9d73fae998dcffc516817a7479f4ddd641053383 /query.c
parentbb556db516af064649588a771048b004852e4f49 (diff)
Some more formatting changes in the auth. request messages
Diffstat (limited to 'query.c')
-rw-r--r--query.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/query.c b/query.c
index b21c39e1..670dde36 100644
--- a/query.c
+++ b/query.c
@@ -130,12 +130,12 @@ void query_answer( irc_t *irc, query_t *q, int ans )
if( ans )
{
q->yes( NULL, q->data );
- serv_got_crap( q->gc, "\2Accepted\2: %s", q->question );
+ serv_got_crap( q->gc, "Accepted: %s", q->question );
}
else
{
q->no( NULL, q->data );
- serv_got_crap( q->gc, "\2Rejected\2: %s", q->question );
+ serv_got_crap( q->gc, "Rejected: %s", q->question );
}
q->data = NULL;
@@ -149,13 +149,11 @@ static void query_display( irc_t *irc, query_t *q )
{
if( q->gc )
{
- serv_got_crap( q->gc, "New request:" );
- serv_got_crap( q->gc, "%s\nYou can use the yes/no commands to accept/reject this request.", q->question );
+ serv_got_crap( q->gc, "New request: %s\nYou can use the \2yes\2/\2no\2 commands to accept/reject this request.", q->question );
}
else
{
- irc_usermsg( irc, "New request:" );
- irc_usermsg( irc, "%s\nYou can use the yes/no commands to accept/reject this request.", q->question );
+ irc_usermsg( irc, "New request: %s\nYou can use the \2yes\2/\2no\2 commands to accept/reject this request.", q->question );
}
}