summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-07-20 18:15:01 +0200
committerattilamolnar <attilamolnar@hush.com>2013-07-20 18:15:01 +0200
commit909cba9b756179bfa16d985916db1084cb7b4a9d (patch)
tree182abd6dd3165d3b09137cc7e20c5158591df8b3
parent812c478f8b073a7465b4af4f4117b13db2168f50 (diff)
Enable the LINK snomask from m_spanningtree, remove unused FLOOD snomask
-rw-r--r--src/modules/m_spanningtree/main.cpp2
-rw-r--r--src/snomasks.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 456d0f5aa..e4bdee879 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -50,6 +50,8 @@ SpanningTreeCommands::SpanningTreeCommands(ModuleSpanningTree* module)
void ModuleSpanningTree::init()
{
+ ServerInstance->SNO->EnableSnomask('l', "LINK");
+
Utils = new SpanningTreeUtilities(this);
commands = new SpanningTreeCommands(this);
ServerInstance->Modules->AddService(commands->rconnect);
diff --git a/src/snomasks.cpp b/src/snomasks.cpp
index 820f65e4b..0a0d3cab2 100644
--- a/src/snomasks.cpp
+++ b/src/snomasks.cpp
@@ -69,13 +69,11 @@ SnomaskManager::SnomaskManager()
EnableSnomask('c',"CONNECT"); /* Local connect notices */
EnableSnomask('q',"QUIT"); /* Local quit notices */
EnableSnomask('k',"KILL"); /* Kill notices */
- EnableSnomask('l',"LINK"); /* Linking notices */
EnableSnomask('o',"OPER"); /* Oper up/down notices */
EnableSnomask('a',"ANNOUNCEMENT"); /* formerly WriteOpers() - generic notices to all opers */
EnableSnomask('d',"DEBUG"); /* Debug notices */
EnableSnomask('x',"XLINE"); /* Xline notice (g/z/q/k/e) */
EnableSnomask('t',"STATS"); /* Local or remote stats request */
- EnableSnomask('f',"FLOOD"); /* Flooding notices */
}
/*************************************************************************************/