Changeset aef4828 for query.c


Ignore:
Timestamp:
2007-04-06T05:20:31Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
552e641
Parents:
0da65d5
Message:

More cleanups, mainly in the callbacks. Replaced things like
do_error_dialog() and (set|hide)_login_progress(_error)?() with things
that hopefully make more sense.

Although it's still not really great...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • query.c

    r0da65d5 raef4828  
    122122       
    123123        if( count > 0 )
    124                 serv_got_crap( ic, "Flushed %d unanswered question(s) for this connection.", count );
     124                imc_log( ic, "Flushed %d unanswered question(s) for this connection.", count );
    125125       
    126126        q = query_default( irc );
     
    140140        if( ans )
    141141        {
    142                 serv_got_crap( q->ic, "Accepted: %s", q->question );
     142                imc_log( q->ic, "Accepted: %s", q->question );
    143143                q->yes( NULL, q->data );
    144144        }
    145145        else
    146146        {
    147                 serv_got_crap( q->ic, "Rejected: %s", q->question );
     147                imc_log( q->ic, "Rejected: %s", q->question );
    148148                q->no( NULL, q->data );
    149149        }
     
    160160        if( q->ic )
    161161        {
    162                 serv_got_crap( q->ic, "New request: %s\nYou can use the \2yes\2/\2no\2 commands to accept/reject this request.", q->question );
     162                imc_log( q->ic, "New request: %s\nYou can use the \2yes\2/\2no\2 commands to accept/reject this request.", q->question );
    163163        }
    164164        else
Note: See TracChangeset for help on using the changeset viewer.