summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-10-07 18:14:22 +0200
committerattilamolnar <attilamolnar@hush.com>2012-10-08 16:58:42 +0200
commitc8707149b2a9a1b9774457c2d1629d37920b9f74 (patch)
tree0c4ef7afb6426cf4b5843788c5a884d52db716e9 /src/mode.cpp
parentd77540142f52256bba8b0fd22bd0e651f86fde8e (diff)
Move simple user and channel mode handlers into a single file
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp18
1 files changed, 5 insertions, 13 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 845b23fb0..21c9e7144 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -24,22 +24,18 @@
#include "inspircd.h"
-#include "inspstring.h"
/* +s (secret) */
-#include "modes/cmode_s.h"
/* +p (private) */
-#include "modes/cmode_p.h"
-/* +b (bans) */
-#include "modes/cmode_b.h"
/* +m (moderated) */
-#include "modes/cmode_m.h"
/* +t (only (half) ops can change topic) */
-#include "modes/cmode_t.h"
/* +n (no external messages) */
-#include "modes/cmode_n.h"
/* +i (invite only) */
-#include "modes/cmode_i.h"
+/* +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) */
@@ -48,10 +44,6 @@
#include "modes/cmode_o.h"
/* +v (channel voice) */
#include "modes/cmode_v.h"
-/* +w (see wallops) */
-#include "modes/umode_w.h"
-/* +i (invisible) */
-#include "modes/umode_i.h"
/* +o (operator) */
#include "modes/umode_o.h"
/* +s (server notice masks) */