]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modes/cmode_o.cpp
Remove empty ThreadEngine constructors and destructors
[user/henk/code/inspircd.git] / src / modes / cmode_o.cpp
index d500f23b1ea21610c6d95e03e254ab0ff90a5d4a..496a327185fec9271d50f4af38a234a617d3d771 100644 (file)
 
 
 #include "inspircd.h"
-#include "configreader.h"
-#include "mode.h"
-#include "channels.h"
-#include "users.h"
-#include "modules.h"
 #include "builtinmodes.h"
 
-ModeChannelOp::ModeChannelOp() : ModeHandler(NULL, "op", 'o', PARAM_ALWAYS, MODETYPE_CHANNEL)
+ModeChannelOp::ModeChannelOp() : PrefixMode(NULL, "op", 'o')
 {
-       list = true;
        prefix = '@';
        levelrequired = OP_VALUE;
-       m_paramtype = TR_NICK;
        prefixrank = OP_VALUE;
 }
-
-ModeAction ModeChannelOp::OnModeChange(User* source, User*, Channel* channel, std::string &parameter, bool adding)
-{
-       return MODEACTION_ALLOW;
-}