- Timestamp:
- 2005-11-15T23:16:39Z (19 years ago)
- Branches:
- master
- Children:
- ef6c6a7
- Parents:
- 9cb9868
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
query.c
r9cb9868 r5c09a59 127 127 disp = 1; 128 128 } 129 129 //Using irc_usermsg instead of serv_got_crap because \x02A is a char too, so a SPACE is needed. 130 130 if( ans ) 131 131 { 132 132 q->yes( NULL, q->data ); 133 irc_usermsg( irc, "Accepted: %s", q->question );133 serv_got_crap( q->gc, "\2Accepted\2: %s", q->question ); 134 134 } 135 135 else 136 136 { 137 137 q->no( NULL, q->data ); 138 irc_usermsg( irc, "Rejected: %s", q->question );138 serv_got_crap( q->gc, "\2Rejected\2: %s", q->question ); 139 139 } 140 140 q->data = NULL; … … 149 149 { 150 150 if( q->gc ) 151 irc_usermsg( irc, "Question on %s connection (handle %s):", proto_name[q->gc->protocol], q->gc->username ); 151 { 152 serv_got_crap( q->gc, "New request:" ); 153 serv_got_crap( q->gc, "%s\nYou can use the yes/no commands to accept/reject this request.", q->question ); 154 } 152 155 else 153 irc_usermsg( irc, "Question:" ); 154 155 irc_usermsg( irc, "%s\nYou can use the yes/no commands to answer this question.", q->question ); 156 { 157 irc_usermsg( irc, "New request:" ); 158 irc_usermsg( irc, "%s\nYou can use the yes/no commands to accept/reject this request.", q->question ); 159 } 156 160 } 157 161
Note: See TracChangeset
for help on using the changeset viewer.