From c6ffd3e337bd78f4ebec45e9bf8565cf7a3efb7e Mon Sep 17 00:00:00 2001 From: lookshe Date: Sun, 8 Apr 2012 21:10:56 +0200 Subject: added return after making tinyurl to avoid duplicate titles when youtube links are longer then normal --- tinyurl.tcl | 1 + 1 file changed, 1 insertion(+) 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 } } -- cgit v1.2.3