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
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)

Event Timeline