Page MenuHomeDevCentral

D702.diff
No OneTemporary

D702.diff

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

Mime Type
text/plain
Expires
Sun, Sep 29, 12:16 (21 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2164120
Default Alt Text
D702.diff (1014 B)

Event Timeline