diff options
Diffstat (limited to 'src/modes/cmode_o.cpp')
-rw-r--r-- | src/modes/cmode_o.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modes/cmode_o.cpp b/src/modes/cmode_o.cpp index f0a729480..d500f23b1 100644 --- a/src/modes/cmode_o.cpp +++ b/src/modes/cmode_o.cpp @@ -34,11 +34,7 @@ ModeChannelOp::ModeChannelOp() : ModeHandler(NULL, "op", 'o', PARAM_ALWAYS, MODE prefix = '@'; levelrequired = OP_VALUE; m_paramtype = TR_NICK; -} - -unsigned int ModeChannelOp::GetPrefixRank() -{ - return OP_VALUE; + prefixrank = OP_VALUE; } ModeAction ModeChannelOp::OnModeChange(User* source, User*, Channel* channel, std::string ¶meter, bool adding) |