Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3715947
D981.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
708 B
Referenced Files
None
Subscribers
None
D981.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 6, 11:35 (21 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2231703
Default Alt Text
D981.diff (708 B)
Attached To
Mode
D981: Switch URL parsing configuration to parse-url channel flag
Attached
Detach File
Event Timeline
Log In to Comment