Page MenuHomeDevCentral

D33.diff
No OneTemporary

D33.diff

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

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)

Event Timeline