aboutsummaryrefslogtreecommitdiffstats
path: root/query.c
diff options
context:
space:
mode:
authorSven Moritz Hallberg <sm@khjk.org>2008-02-11 21:58:33 +0100
committerSven Moritz Hallberg <sm@khjk.org>2008-02-11 21:58:33 +0100
commitd6fdf44c54ac2aecfd0c94a2d56be04e44a51eb3 (patch)
tree2ecaaa39193725b66f958e2ba446da6bfc7aec1f /query.c
parente6cb1101cbbf6a4c2751f20c2072c9ca3127ad98 (diff)
pass the im_connection as first argument to yes/no handlers
Diffstat (limited to 'query.c')
-rw-r--r--query.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/query.c b/query.c
index 99a579bc..49865c86 100644
--- a/query.c
+++ b/query.c
@@ -144,7 +144,7 @@ void query_answer( irc_t *irc, query_t *q, int ans )
else
irc_usermsg( irc, "Accepted: %s", q->question );
if(q->yes)
- q->yes( NULL, q->data );
+ q->yes( q->ic, q->data );
}
else
{
@@ -153,7 +153,7 @@ void query_answer( irc_t *irc, query_t *q, int ans )
else
irc_usermsg( irc, "Rejected: %s", q->question );
if(q->no)
- q->no( NULL, q->data );
+ q->no( q->ic, q->data );
}
q->data = NULL;