Changeset 6197702 for query.c


Ignore:
Timestamp:
2010-10-09T18:41:19Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
d150a9d
Parents:
23b29c6 (diff), 27b407f (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.
Message:

Merging OTR branch. It's more or less a plugin if you enable it, and
otherwise a no-op. DO NOT INSTALL THIS ON PUBLIC SERVERS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • query.c

    r23b29c6 r6197702  
    106106        int count = 0;
    107107       
     108        if( !ic )
     109                return;
     110       
    108111        q = irc->queries;
    109112        def = query_default( irc );
     
    148151                else
    149152                        irc_usermsg( irc, "Accepted: %s", q->question );
    150                 q->yes( q->data );
     153                if( q->yes )
     154                        q->yes( q->data );
    151155        }
    152156        else
     
    156160                else
    157161                        irc_usermsg( irc, "Rejected: %s", q->question );
    158                 q->no( q->data );
     162                if( q->no )
     163                        q->no( q->data );
    159164        }
    160165        q->data = NULL;
Note: See TracChangeset for help on using the changeset viewer.