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/cleanpublic.pl-dead-code.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/cleanpublic.pl-dead-code.diff')
-rw-r--r-- | debian/patches/cleanpublic.pl-dead-code.diff | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/cleanpublic.pl-dead-code.diff b/debian/patches/cleanpublic.pl-dead-code.diff new file mode 100644 index 0000000..8a514d5 --- /dev/null +++ b/debian/patches/cleanpublic.pl-dead-code.diff @@ -0,0 +1,19 @@ +Description: Remove dead code +Forwarded: yes +Author: Florian Ernst <florian@debian.org> +Last-Update: 2005-02-03 +--- a/scripts/cleanpublic.pl ++++ b/scripts/cleanpublic.pl +@@ -24,12 +24,6 @@ + if ($target eq $chan) { return } + } + +- # Ruthlessly_ripped_from_Garion { +- my $twin = Irssi::window_find_name($target); +- # Beam it to window 1 if we cant find any other suitable target. +- if (!defined($twin)) { $twin = Irssi::window_find_refnum(1); } +- # } +- + # Remove formatting + $data =~ s/\x03\d?\d?(,\d?\d?)?|\x02|\x1f|\x16|\x06|\x07//g; + # Let it flow |