summaryrefslogtreecommitdiffstats
path: root/debian/patches/cleanpublic.pl-dead-code.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/cleanpublic.pl-dead-code.diff')
-rw-r--r--debian/patches/cleanpublic.pl-dead-code.diff19
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