Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3714571
D33.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
467 B
Referenced Files
None
Subscribers
None
D33.diff
View Options
diff --git a/Daeghrefn/Channel.tcl b/Daeghrefn/Channel.tcl
--- a/Daeghrefn/Channel.tcl
+++ b/Daeghrefn/Channel.tcl
@@ -85,5 +85,6 @@
set host [gethost $uhost]
if [isbotnetsuspecthost $host] {
newchanban $channel *!*@$host $botname [registry get protection.botnet.banreason] [registry get protection.botnet.banduration] sticky
+ sql "INSERT INTO log_flood (host, `count`) VALUES ('[sqlescape $host]', 1) ON DUPLICATE KEY UPDATE `count` = `count` + 1;"
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 5, 16:58 (4 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2230659
Default Alt Text
D33.diff (467 B)
Attached To
Mode
D33: Count #wikipedia-fr excess flood botnet mitigation bans
Attached
Detach File
Event Timeline
Log In to Comment