summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-07 22:50:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-07 22:50:03 +0000
commit65d52bb76385f0a3f49acc4217cc6212008d3b3e (patch)
treee4a411ed6601193b68e5947e3b193d3cabe8f669 /src/mode.cpp
parent6a225f749e21c4efc6ac9053c86fce5c25516f60 (diff)
Add cmode_n and cmode_t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4158 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 5df98d23b..3c6f9d7f0 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -50,6 +50,10 @@ using namespace std;
#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"
extern int MODCOUNT;
extern std::vector<Module*> modules;
@@ -646,5 +650,7 @@ ModeParser::ModeParser()
this->AddMode(new ModeChannelPrivate, 'p');
this->AddMode(new ModeChannelBan, 'b');
this->AddMode(new ModeChannelModerated, 'm');
+ this->AddMode(new ModeChannelTopicOps, 't');
+ this->AddMode(new ModeChannelNoExternal, 'n');
}