aboutsummaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorGravatar w00t2006-07-10 15:20:41 +0000
committerGravatar w00t2006-07-10 15:20:41 +0000
commit2816a3ff87c3c15848dfe7f71391a454992ecefe (patch)
treee31985a9ac9255bd90e26cf6200137eb2e289c32 /src/mode.cpp
parent-Clone mode methods into notice mask methods for userrec. (diff)
- Add usermode +n for notice masks - our implementation of snomasks. We're not sure how this will tie in with +s yet.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4274 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index c3153dfee..18580a21e 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -63,6 +63,8 @@ using namespace std;
#include "modes/umode_i.h"
/* +o (operator) */
#include "modes/umode_o.h"
+/* +n (notice mask - our implementation of snomasks) */
+#include "modes/umode_n.h"
extern int MODCOUNT;
extern std::vector<Module*> modules;
@@ -620,7 +622,6 @@ ModeParser::ModeParser()
this->AddMode(new ModeUserWallops, 'w');
this->AddMode(new ModeUserInvisible, 'i');
this->AddMode(new ModeUserOperator, 'o');
-
- /* TODO: User modes +swio */
+ this->AddMode(new ModeUserServerNoticeMask, 'n');
}