summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlookshe <lookshe@fumuga.com>2012-04-08 21:10:56 +0200
committerlookshe <lookshe@fumuga.com>2012-04-08 21:10:56 +0200
commitc6ffd3e337bd78f4ebec45e9bf8565cf7a3efb7e (patch)
tree2fe4bacb68bfd06e88580a1dab240e0e937bc455
parent7b7cd25035271f378c02cd615829af1feeeb7981 (diff)
added return after making tinyurl to avoid duplicate titles when youtube links are longer then normal
-rw-r--r--tinyurl.tcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tinyurl.tcl b/tinyurl.tcl
index d422126..3aa9bed 100644
--- a/tinyurl.tcl
+++ b/tinyurl.tcl
@@ -64,6 +64,7 @@ foreach act_arg $arg {
if {$tinyurl != "0"} {
set title [exec perl -e "use URI::Title;binmode(STDOUT, \":utf8\");print URI::Title::title(\"$url\");"]
putserv "PRIVMSG $chan :\002Tiny URL\002: $tinyurl \[$title\] (URL by \002$nick\002)"
+ return 0
}
}