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