summaryrefslogtreecommitdiffstats
path: root/debian/patches/cleanpublic.pl-dead-code.diff
blob: 8a514d5ec58cb197428398be92e688868e577936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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