Changeset e67e513 for query.c


Ignore:
Timestamp:
2011-10-03T14:56:58Z (13 years ago)
Author:
unknown <pesco@…>
Branches:
master
Children:
409c2de
Parents:
3231485
Message:

rename irc_usermsg to irc_rootmsg.
add new irc_usermsg, irc_usernotice.
deliver user-specific messages from libotr as notices to that user.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • query.c

    r3231485 re67e513  
    150150                        imcb_log( q->ic, "Accepted: %s", q->question );
    151151                else
    152                         irc_usermsg( irc, "Accepted: %s", q->question );
     152                        irc_rootmsg( irc, "Accepted: %s", q->question );
    153153                if( q->yes )
    154154                        q->yes( q->data );
     
    159159                        imcb_log( q->ic, "Rejected: %s", q->question );
    160160                else
    161                         irc_usermsg( irc, "Rejected: %s", q->question );
     161                        irc_rootmsg( irc, "Rejected: %s", q->question );
    162162                if( q->no )
    163163                        q->no( q->data );
     
    179179        else
    180180        {
    181                 irc_usermsg( irc, "New request: %s\nYou can use the \2yes\2/\2no\2 commands to accept/reject this request.", q->question );
     181                irc_rootmsg( irc, "New request: %s\nYou can use the \2yes\2/\2no\2 commands to accept/reject this request.", q->question );
    182182        }
    183183}
Note: See TracChangeset for help on using the changeset viewer.