Changes in query.c [7f421d6:9143aeb]
Legend:
- Unmodified
- Added
- Removed
-
query.c
r7f421d6 r9143aeb 30 30 static query_t *query_default( irc_t *irc ); 31 31 32 query_t *query_add( irc_t *irc, struct im_connection *ic, char *question, void *yes, void *no, void *data ) 32 query_t *query_add( irc_t *irc, struct im_connection *ic, char *question, 33 query_callback yes, query_callback no, void *data ) 33 34 { 34 35 query_t *q = g_new0( query_t, 1 ); … … 144 145 else 145 146 irc_usermsg( irc, "Accepted: %s", q->question ); 146 q->yes( NULL,q->data );147 q->yes( q->data ); 147 148 } 148 149 else … … 152 153 else 153 154 irc_usermsg( irc, "Rejected: %s", q->question ); 154 q->no( NULL,q->data );155 q->no( q->data ); 155 156 } 156 157 q->data = NULL;
Note: See TracChangeset
for help on using the changeset viewer.