Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3717329
D191.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
440 B
Referenced Files
None
Subscribers
None
D191.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D191: [Channel] Ensure we've a video title before print it
Attached
Detach File
Event Timeline
Log In to Comment