Changeset f1cf01c
- Timestamp:
- 2011-06-29T01:59:46Z (13 years ago)
- Branches:
- master
- Children:
- 3d952b5
- Parents:
- 1082395
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
otr.c
r1082395 rf1cf01c 642 642 643 643 otr_update_uflags(context, u); 644 if(!otr_update_modeflags(irc, u)) 645 irc_usermsg(irc, "conversation with %s is now off the record", u->nick); 644 if(!otr_update_modeflags(irc, u)) { 645 char *trust = u->flags & IRC_USER_OTR_TRUSTED ? "trusted" : "untrusted!"; 646 irc_usermsg(irc, "conversation with %s is now off the record (%s)", u->nick, trust); 647 } 646 648 } 647 649 … … 681 683 682 684 otr_update_uflags(context, u); 683 if(!otr_update_modeflags(irc, u)) 684 irc_usermsg(irc, "otr connection with %s has been refreshed", u->nick); 685 if(!otr_update_modeflags(irc, u)) { 686 char *trust = u->flags & IRC_USER_OTR_TRUSTED ? "trusted" : "untrusted!"; 687 irc_usermsg(irc, "otr connection with %s has been refreshed (%s)", u->nick, trust); 688 } 685 689 } 686 690
Note: See TracChangeset
for help on using the changeset viewer.