CRITICAL BUG FIX: make -throttle work when output is a pipe.
This commit is contained in:
parent
80fdc110a8
commit
e5e23f91af
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=129594
1 changed files with 10 additions and 0 deletions
10
irc/insub/files/patch-throttle
Normal file
10
irc/insub/files/patch-throttle
Normal file
|
@ -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;
|
Loading…
Reference in a new issue