- Timestamp:
- 2006-05-24T23:04:18Z (18 years ago)
- Branches:
- master
- Children:
- 80c1e4d
- Parents:
- 46ad029 (diff), fc630f9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
query.c
r46ad029 r601e813 39 39 q->no = no; 40 40 q->data = data; 41 42 if( strchr( irc->umode, 'b' ) != NULL ) 43 { 44 char *s; 45 46 /* At least for the machine-parseable version, get rid of 47 newlines to make "parsing" easier. */ 48 for( s = q->question; *s; s ++ ) 49 if( *s == '\r' || *s == '\n' ) 50 *s = ' '; 51 } 41 52 42 53 if( irc->queries ) … … 127 138 disp = 1; 128 139 } 129 //Using irc_usermsg instead of serv_got_crap because \x02A is a char too, so a SPACE is needed.130 140 if( ans ) 131 141 { 142 serv_got_crap( q->gc, "Accepted: %s", q->question ); 132 143 q->yes( NULL, q->data ); 133 serv_got_crap( q->gc, "Accepted: %s", q->question );134 144 } 135 145 else 136 146 { 147 serv_got_crap( q->gc, "Rejected: %s", q->question ); 137 148 q->no( NULL, q->data ); 138 serv_got_crap( q->gc, "Rejected: %s", q->question );139 149 } 140 150 q->data = NULL;
Note: See TracChangeset
for help on using the changeset viewer.