From c56bea9d5fcbf239a63992eb9a141b43cb780184 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 9 Sep 2022 02:01:47 +0100 Subject: Make internal penalty be specified in millisecs instead of seconds. This removes the need to multiply it later. --- src/modules/m_gateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_gateway.cpp') diff --git a/src/modules/m_gateway.cpp b/src/modules/m_gateway.cpp index dbdc0cbf0..6ca99fbb2 100644 --- a/src/modules/m_gateway.cpp +++ b/src/modules/m_gateway.cpp @@ -133,7 +133,7 @@ public: CommandHexIP(Module* Creator) : SplitCommand(Creator, "HEXIP", 1) { - Penalty = 2; + penalty = 2000; syntax = { "" }; } -- cgit v1.3.1-10-gc9f91