File: cleanpublic.pl-dead-code

package info (click to toggle)
irssi-scripts 20100512
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,420 kB
  • ctags: 2,479
  • sloc: perl: 58,204; sh: 171; makefile: 33
file content (15 lines) | stat: -rw-r--r-- 445 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- 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