summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-06-14 15:07:19 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-06-14 15:07:19 +0200
commit60245f0447e7de20f29f96dc1ec096300ba5f6ee (patch)
treec347d285ff003dc0b8bce567dfe9ef6d6556aa53 /src/modules/m_spanningtree/main.cpp
parent978233e0074a3ff2ed7a33141ea3607314dbf81a (diff)
m_spanningtree Initialize boolean member variables in the constructor of the module
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-rw-r--r--src/modules/m_spanningtree/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 5f07cb065..5bf4583a4 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -39,6 +39,8 @@ ModuleSpanningTree::ModuleSpanningTree()
, commands(NULL)
, currmembid(0)
, DNS(this, "DNS")
+ , loopCall(false)
+ , SplitInProgress(false)
{
}
@@ -90,9 +92,6 @@ void ModuleSpanningTree::init()
delete ServerInstance->FakeClient->server;
SetLocalUsersServer(Utils->TreeRoot);
-
- loopCall = false;
- SplitInProgress = false;
}
void ModuleSpanningTree::ShowLinks(TreeServer* Current, User* user, int hops)