Page MenuHomeDevCentral

D981.diff
No OneTemporary

D981.diff

diff --git a/Daeghrefn/Channel.tcl b/Daeghrefn/Channel.tcl
--- a/Daeghrefn/Channel.tcl
+++ b/Daeghrefn/Channel.tcl
@@ -1,9 +1,10 @@
-bind pubm - "#wolfplex *" pubm:url
-bind pubm - "#fauve *" pubm:url
+bind pubm - * pubm:url
bind sign - "#wikipedia-fr *!*@*" sign:excessflood
bind dcc o botnet dcc:botnet
+setudef flag parse-url
+
#
# URL management
#
@@ -31,6 +32,9 @@
#Currently, it prints the video title when not provided with the URL
#TODO: checks 402/403/404/500 error codes
proc pubm:url {nick uhost handle channel text} {
+ if {![channel get $channel parse-url]} {
+ return 0
+ }
foreach url [geturls $text] {
if [url:isvideo $url] {
#Prints video information on the channel

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 11:16 (21 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264527
Default Alt Text
D981.diff (708 B)

Event Timeline