diff options
| author | 2022-09-09 02:01:47 +0100 | |
|---|---|---|
| committer | 2022-09-09 02:16:13 +0100 | |
| commit | c56bea9d5fcbf239a63992eb9a141b43cb780184 (patch) | |
| tree | 230c371b4f0dbbe98ddd774d219daf8df5b0d4c5 /src/modules/m_gateway.cpp | |
| parent | Default allow_empty_last_param to false. (diff) | |
Make internal penalty be specified in millisecs instead of seconds.
This removes the need to multiply it later.
Diffstat (limited to 'src/modules/m_gateway.cpp')
| -rw-r--r-- | src/modules/m_gateway.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { "<hex-ip|raw-ip>" }; } |
