aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_delaymsg.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-08-13 17:01:25 +0100
committerGravatar Sadie Powell2019-08-13 17:36:19 +0100
commit21664767f0a9d6f6c7d81c46efa84f725d1bd1f3 (patch)
treeb9b8228b5fc7d48466e8ec1e37887f8634e9039d /src/modules/m_delaymsg.cpp
parentRename ExtensionItem::free to ExtensionItem::Delete. (diff)
Move the Module parameter of ExtensionItem et al to the start.
This matches what other ServiceProvider types do.
Diffstat (limited to 'src/modules/m_delaymsg.cpp')
-rw-r--r--src/modules/m_delaymsg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_delaymsg.cpp b/src/modules/m_delaymsg.cpp
index f5eff4049..8d745616b 100644
--- a/src/modules/m_delaymsg.cpp
+++ b/src/modules/m_delaymsg.cpp
@@ -26,7 +26,7 @@ class DelayMsgMode : public ParamMode<DelayMsgMode, LocalIntExt>
LocalIntExt jointime;
DelayMsgMode(Module* Parent)
: ParamMode<DelayMsgMode, LocalIntExt>(Parent, "delaymsg", 'd')
- , jointime("delaymsg", ExtensionItem::EXT_MEMBERSHIP, Parent)
+ , jointime(Parent, "delaymsg", ExtensionItem::EXT_MEMBERSHIP)
{
ranktoset = ranktounset = OP_VALUE;
syntax = "<seconds>";