aboutsummaryrefslogtreecommitdiffstats
path: root/otr.c
diff options
context:
space:
mode:
authorMischa S <revmischa@cpan.org>2015-11-07 15:51:21 -0800
committerdequis <dx@dxzone.com.ar>2015-11-07 21:19:25 -0300
commit0a5d03c8aa25223d054012022caeecfebf7b9638 (patch)
tree4412c248716c3f9f8088497ed7c98a3f3df26c87 /otr.c
parentc467adc170fe2fb16321bcd9d3bb9a3a918f51e3 (diff)
Do not use NOTICE for OTR messages for a given user
Because they are very very easily lost. Changing to PRIVMSG
Diffstat (limited to 'otr.c')
-rw-r--r--otr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otr.c b/otr.c
index 54c77ba9..32161637 100644
--- a/otr.c
+++ b/otr.c
@@ -1399,8 +1399,8 @@ void display_otr_message(void *opdata, ConnContext *ctx, const char *fmt, ...)
va_end(va);
if (u) {
- /* display as a notice from this particular user */
- irc_usernotice(u, "%s", msg);
+ /* just show this as a regular message */
+ irc_usermsg(u, "<<\002OTR\002>> %s", msg);
} else {
irc_rootmsg(irc, "[otr] %s", msg);
}