From e5e23f91afca6c0bd4b637cf081db211837dabef Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Wed, 23 Feb 2005 13:00:09 +0000 Subject: [PATCH] CRITICAL BUG FIX: make -throttle work when output is a pipe. --- irc/insub/files/patch-throttle | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 irc/insub/files/patch-throttle diff --git a/irc/insub/files/patch-throttle b/irc/insub/files/patch-throttle new file mode 100644 index 000000000000..1df58fde2cfc --- /dev/null +++ b/irc/insub/files/patch-throttle @@ -0,0 +1,10 @@ +--- insub.old Tue Feb 22 22:53:08 2005 ++++ insub.pl Tue Feb 22 22:54:22 2005 +@@ -916,6 +916,7 @@ + } + + ++ $| = 1 if ($throttle); + foreach my $line (split(/\n/, $text)) { + if ($CONTEXT eq 'irssi') { + $cmd = "msg $sendto" unless $cmd;