Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3781734
D702.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1014 B
Referenced Files
None
Subscribers
None
D702.diff
View Options
diff --git a/Daeghrefn/Channel.tcl b/Daeghrefn/Channel.tcl
--- a/Daeghrefn/Channel.tcl
+++ b/Daeghrefn/Channel.tcl
@@ -1,7 +1,6 @@
# #wolfplex
bind pubm - "#wolfplex *" pubm:url
bind pubm - "#fauve *" pubm:url
-bind join - "#wikipedia-fr *!*@*" join:vandalism
bind sign - "#wikipedia-fr *!*@*" sign:excessflood
#
@@ -89,25 +88,3 @@
sql "INSERT INTO log_flood (host, `count`) VALUES ('[sqlescape $host]', 1) ON DUPLICATE KEY UPDATE `count` = `count` + 1;"
}
}
-
-#
-# Check HTTP site to detect pattern
-#
-
-# Checks on join if the user can't be identified through an HTTP check
-proc join:vandalism {nick uhost handle channel} {
- global botname
-
- if {[matchattr $handle fov|fov $channel]} {
- return
- }
-
- set addr [extract_addr $uhost]
- if {$addr == ""} {
- return
- }
-
- if {[http_contains [registry get protection.http.pattern] http://$addr/]} {
- newchanban $channel *!*@*$addr $botname [registry get protection.http.banreason] [registry get protection.http.banduration] sticky
- }
-}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 21:37 (22 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2265119
Default Alt Text
D702.diff (1014 B)
Attached To
Mode
D702: Revert "HTTP check protection for #wikipedia-fr"
Attached
Detach File
Event Timeline
Log In to Comment