diff options
Diffstat (limited to 'src/modes/cmode_o.cpp')
-rw-r--r-- | src/modes/cmode_o.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modes/cmode_o.cpp b/src/modes/cmode_o.cpp index 19c365ad9..8af364ad4 100644 --- a/src/modes/cmode_o.cpp +++ b/src/modes/cmode_o.cpp @@ -19,8 +19,12 @@ #include "modules.h" #include "modes/cmode_o.h" -ModeChannelOp::ModeChannelOp(InspIRCd* Instance) : ModeHandler(Instance, NULL, 'o', 1, 1, true, MODETYPE_CHANNEL, false, '@', '@', TR_NICK) +ModeChannelOp::ModeChannelOp(InspIRCd* Instance) : ModeHandler(NULL, 'o', PARAM_ALWAYS, MODETYPE_CHANNEL) { + list = true; + prefix = '@'; + levelrequired = OP_VALUE; + m_paramtype = TR_NICK; } unsigned int ModeChannelOp::GetPrefixRank() |