From 65d52bb76385f0a3f49acc4217cc6212008d3b3e Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 7 Jul 2006 22:50:03 +0000 Subject: Add cmode_n and cmode_t git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4158 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/mode.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mode.cpp') 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 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'); } -- cgit v1.2.3