Page MenuHomeDevCentral

D33.id.diff
No OneTemporary

D33.id.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, 17:43 (4 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2230659
Default Alt Text
D33.id.diff (467 B)

Event Timeline