aboutsummaryrefslogtreecommitdiffstats
path: root/query.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2007-04-05 22:20:31 -0700
committerWilmer van der Gaast <wilmer@gaast.net>2007-04-05 22:20:31 -0700
commitaef4828a1dc51de10a43bb7dd5d023de9971295b (patch)
treecbb675b41369f1ada1579fba4060726573cf9cb5 /query.c
parent0da65d5fb37691ed4d31f7ab4058732f1440db6b (diff)
More cleanups, mainly in the callbacks. Replaced things like
do_error_dialog() and (set|hide)_login_progress(_error)?() with things that hopefully make more sense. Although it's still not really great...
Diffstat (limited to 'query.c')
-rw-r--r--query.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/query.c b/query.c
index c95ff4e1..e7a55afd 100644
--- a/query.c
+++ b/query.c
@@ -121,7 +121,7 @@ void query_del_by_conn( irc_t *irc, struct im_connection *ic )
}
if( count > 0 )
- serv_got_crap( ic, "Flushed %d unanswered question(s) for this connection.", count );
+ imc_log( ic, "Flushed %d unanswered question(s) for this connection.", count );
q = query_default( irc );
if( q && q != def )
@@ -139,12 +139,12 @@ void query_answer( irc_t *irc, query_t *q, int ans )
}
if( ans )
{
- serv_got_crap( q->ic, "Accepted: %s", q->question );
+ imc_log( q->ic, "Accepted: %s", q->question );
q->yes( NULL, q->data );
}
else
{
- serv_got_crap( q->ic, "Rejected: %s", q->question );
+ imc_log( q->ic, "Rejected: %s", q->question );
q->no( NULL, q->data );
}
q->data = NULL;
@@ -159,7 +159,7 @@ static void query_display( irc_t *irc, query_t *q )
{
if( q->ic )
{
- serv_got_crap( q->ic, "New request: %s\nYou can use the \2yes\2/\2no\2 commands to accept/reject this request.", q->question );
+ imc_log( q->ic, "New request: %s\nYou can use the \2yes\2/\2no\2 commands to accept/reject this request.", q->question );
}
else
{