aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_cycle.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-09-09 02:01:47 +0100
committerGravatar Sadie Powell2022-09-09 02:16:13 +0100
commitc56bea9d5fcbf239a63992eb9a141b43cb780184 (patch)
tree230c371b4f0dbbe98ddd774d219daf8df5b0d4c5 /src/modules/m_cycle.cpp
parentDefault 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_cycle.cpp')
-rw-r--r--src/modules/m_cycle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cycle.cpp b/src/modules/m_cycle.cpp
index 47966ccce..0b75f5d0c 100644
--- a/src/modules/m_cycle.cpp
+++ b/src/modules/m_cycle.cpp
@@ -36,7 +36,7 @@ public:
CommandCycle(Module* Creator)
: SplitCommand(Creator, "CYCLE", 1)
{
- Penalty = 3;
+ penalty = 3000;
syntax = { "<channel> [:<reason>]" };
}