From 9434f39e295becace96390366d3ecca23c6e9d28 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 2 Aug 2010 16:45:19 +0200 Subject: [PATCH] socket-interface: newer irssi does not understand /say use '/msg *' instead --- socket-interface.pl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/socket-interface.pl b/socket-interface.pl index 5a3fe35..2e7b7c7 100644 --- a/socket-interface.pl +++ b/socket-interface.pl @@ -185,10 +185,10 @@ sub msg my $win = Irssi::window_find_refnum($refnum); return unless $win; if ($text =~ /^\//) { - # this is a command, don't prepend /say + # this is a command, don't prepend /msg * $win->command($text); } else { - $win->command("say $text"); + $win->command("msg * $text"); } return 1; } -- 1.7.0