Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3763627
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
Sat, Nov 23, 01:10 (17 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2256776
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