Page MenuHomeDevCentral

D191.diff
No OneTemporary

D191.diff

diff --git a/Daeghrefn/Channel.tcl b/Daeghrefn/Channel.tcl
--- a/Daeghrefn/Channel.tcl
+++ b/Daeghrefn/Channel.tcl
@@ -35,7 +35,7 @@
#Prints video information on the channel
#if it's not already in $text
set info [url:getvideotitle $url]
- if {[string first $info $text] == -1} {
+ if {[string length [string trim $info]] > 0 && [string first $info $text] == -1} {
putserv "PRIVMSG $channel :\[Vid\] $info"
}
}

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 7, 03:31 (21 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2232588
Default Alt Text
D191.diff (440 B)

Event Timeline