aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Feist <shabble@cowu.be>2010-09-16 15:26:12 +0000
committerTom Feist <shabble@cowu.be>2010-09-16 15:26:12 +0000
commit9f2331ddaf8957d63070e56b771973f36a29413f (patch)
treedb6901ea53f80091bf60f40cb4343856b094b85e
parentfixed bug that tried to complete non-uri strings, and also added a check to see (diff)
downloadirssi-scripts-9f2331ddaf8957d63070e56b771973f36a29413f.tar.gz
irssi-scripts-9f2331ddaf8957d63070e56b771973f36a29413f.zip
left a debugging print in. Commented it out now. Bah.
-rw-r--r--tinyurl-tabcomplete/complete-tiny-url.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyurl-tabcomplete/complete-tiny-url.pl b/tinyurl-tabcomplete/complete-tiny-url.pl
index ead811c..1a194ac 100644
--- a/tinyurl-tabcomplete/complete-tiny-url.pl
+++ b/tinyurl-tabcomplete/complete-tiny-url.pl
@@ -18,7 +18,7 @@ sub do_complete {
return if $word eq '';
my $found_uri = match_uri($word);
if (defined $found_uri && $found_uri !~ m/tinyurl\./i) {
- print "Going to reduce: $found_uri";
+ #print "Going to reduce: $found_uri";
my $uri = makeashorterlink($found_uri);
push @$strings, $uri if $uri;
$$want_space = 1;