aboutsummaryrefslogtreecommitdiffstats
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorGravatar attilamolnar2013-04-03 18:46:24 +0200
committerGravatar attilamolnar2013-04-08 23:13:24 +0200
commit1bf6cf727da706d821bc4cf84055e27be5ed7f7c (patch)
treed308a8d985fda940a8ea9a6fbec96da486302d8d /src/mode.cpp
parentAllow dynamic references to reference ServiceProviders, introduce ModeReference (diff)
downloadinspircd++-1bf6cf727da706d821bc4cf84055e27be5ed7f7c.tar.gz
inspircd++-1bf6cf727da706d821bc4cf84055e27be5ed7f7c.tar.bz2
inspircd++-1bf6cf727da706d821bc4cf84055e27be5ed7f7c.zip
Unite include/modes/*.h into include/builtinmodes.h
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index e2b0c2f68..bbd29c621 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -24,30 +24,7 @@
#include "inspircd.h"
-
-/* +s (secret) */
-/* +p (private) */
-/* +m (moderated) */
-/* +t (only (half) ops can change topic) */
-/* +n (no external messages) */
-/* +i (invite only) */
-/* +w (see wallops) */
-/* +i (invisible) */
-#include "modes/simplemodes.h"
-/* +b (bans) */
-#include "modes/cmode_b.h"
-/* +k (keyed channel) */
-#include "modes/cmode_k.h"
-/* +l (channel user limit) */
-#include "modes/cmode_l.h"
-/* +o (channel op) */
-#include "modes/cmode_o.h"
-/* +v (channel voice) */
-#include "modes/cmode_v.h"
-/* +o (operator) */
-#include "modes/umode_o.h"
-/* +s (server notice masks) */
-#include "modes/umode_s.h"
+#include "builtinmodes.h"
ModeHandler::ModeHandler(Module* Creator, const std::string& Name, char modeletter, ParamSpec Params, ModeType type)
: ServiceProvider(Creator, Name, SERVICE_MODE), m_paramtype(TR_TEXT),