diff options
| author | 2014-08-06 13:38:34 +0200 | |
|---|---|---|
| committer | 2014-08-06 13:38:34 +0200 | |
| commit | 005b03c9f387e80c8e19ca5c26b1eb89362ff29a (patch) | |
| tree | c4c69b3c48dc1ca0d49154e24d72c7f78aa1e64d /src/modes/cmode_o.cpp | |
| parent | Pass prefix rank and prefix char to PrefixMode constructor (diff) | |
Migrate ModeChannelOp and ModeChannelVoice constructors to builtinmodes.h, remove cmode_{o,v}
The default value for levelrequired is HALFOP_VALUE, meaning the ModeChannelVoice class is not required but it will be useful in case the default changes
Diffstat (limited to 'src/modes/cmode_o.cpp')
| -rw-r--r-- | src/modes/cmode_o.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/modes/cmode_o.cpp b/src/modes/cmode_o.cpp deleted file mode 100644 index 4325b94a3..000000000 --- a/src/modes/cmode_o.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/* - * InspIRCd -- Internet Relay Chat Daemon - * - * Copyright (C) 2009 Daniel De Graaf <danieldg@inspircd.org> - * Copyright (C) 2007 Robin Burchell <robin+git@viroteck.net> - * Copyright (C) 2007 Dennis Friis <peavey@inspircd.org> - * Copyright (C) 2006 Craig Edwards <craigedwards@brainbox.cc> - * - * This file is part of InspIRCd. InspIRCd is free software: you can - * redistribute it and/or modify it under the terms of the GNU General Public - * License as published by the Free Software Foundation, version 2. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - - -#include "inspircd.h" -#include "builtinmodes.h" - -ModeChannelOp::ModeChannelOp() : PrefixMode(NULL, "op", 'o', OP_VALUE, '@') -{ - levelrequired = OP_VALUE; -} |
