diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:19:02 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:19:02 +0000 |
commit | 0e345d89cd71bcdf5be0252ef6cadc6d76dabe3d (patch) | |
tree | 0f5ea7071b241b13bd624d615334876f3aacc37f /debian/patches/timer.pl.diff | |
parent | Adding upstream version 20231031. (diff) | |
download | irssi-scripts-debian.tar.xz irssi-scripts-debian.zip |
Adding debian version 20231031.debian/20231031debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/timer.pl.diff')
-rw-r--r-- | debian/patches/timer.pl.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/timer.pl.diff b/debian/patches/timer.pl.diff new file mode 100644 index 0000000..2b572fc --- /dev/null +++ b/debian/patches/timer.pl.diff @@ -0,0 +1,21 @@ +Description: "timer.pl: add repeat rate to /timer list" +Forwarded: not-needed +Author: "Christoph Berg <myon@debian.org>" +Last-Update: 2006-07-22 +--- a/scripts/timer.pl ++++ b/scripts/timer.pl +@@ -144,11 +144,12 @@ + command_bind 'timer list' => sub { + print( CRAP "Active timers:" ); + foreach my $name ( keys %timers ) { ++ my $msg = "$name = $timers{$name}->{'command'} every $timers{$name}->{'interval'}s"; + if ( $timers{$name}->{repeat} == -1 ) { +- print( CRAP "$name = $timers{$name}->{'command'} (until stopped)"); ++ print( CRAP "$msg (until stopped)"); + } + else { +- print( CRAP "$name = $timers{$name}->{'command'} ($timers{$name}->{'repeat'} repeats left)" ); ++ print( CRAP "$msg ($timers{$name}->{'repeat'} repeats left)" ); + } + } + print( CRAP "End of /timer list" ); |