Changeset 8bd697c
- Timestamp:
- 2008-02-11T21:53:10Z (17 years ago)
- Branches:
- master
- Children:
- 5f4eede
- Parents:
- c595308
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
query.c
rc595308 r8bd697c 102 102 int count = 0; 103 103 104 if(!ic) 105 return; 106 104 107 q = irc->queries; 105 108 def = query_default( irc ); … … 145 148 irc_usermsg( irc, "Accepted: %s", q->question ); 146 149 if(q->yes) 147 q->yes( q->ic , q->data );150 q->yes( q->ic ? q->ic : irc, q->data ); 148 151 } 149 152 else … … 154 157 irc_usermsg( irc, "Rejected: %s", q->question ); 155 158 if(q->no) 156 q->no( q->ic , q->data );159 q->no( q->ic ? q->ic : irc, q->data ); 157 160 } 158 161 q->data = NULL;
Note: See TracChangeset
for help on using the changeset viewer.