aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_messageflood.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-09-07 12:47:50 +0100
committerGravatar Sadie Powell2025-09-07 12:48:39 +0100
commitee88e1c2d15a89adf75d51b78c8cc41642ae04f6 (patch)
tree2a350859f65fe69feee4b382b2f81fde8c2ee924 /src/modules/m_messageflood.cpp
parentAdd a way to opt into the old "reset on hit" messageflood behaviour. (diff)
downloadinspircd++-ee88e1c2d15a89adf75d51b78c8cc41642ae04f6.tar.gz
inspircd++-ee88e1c2d15a89adf75d51b78c8cc41642ae04f6.tar.bz2
inspircd++-ee88e1c2d15a89adf75d51b78c8cc41642ae04f6.zip
Lower the weight of tag messages from 0.2 to 0.1.
Diffstat (limited to 'src/modules/m_messageflood.cpp')
-rw-r--r--src/modules/m_messageflood.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_messageflood.cpp b/src/modules/m_messageflood.cpp
index faa4e5912..d22591515 100644
--- a/src/modules/m_messageflood.cpp
+++ b/src/modules/m_messageflood.cpp
@@ -289,7 +289,7 @@ public:
const auto& tag = ServerInstance->Config->ConfValue("messageflood");
notice = tag->getNum<double>("notice", 1.0);
privmsg = tag->getNum<double>("privmsg", 1.0);
- tagmsg = tag->getNum<double>("tagmsg", 0.2);
+ tagmsg = tag->getNum<double>("tagmsg", 0.1);
message = tag->getString("message", "Message flood detected (trigger is %messages% messages in %duration.long%)", 1);
mf.extended = tag->getBool("extended");
resetonhit = tag->getBool("resetonhit", !mf.extended);