From 42747aef3eacfeb418cd1ac1d7854e3cc4e66469 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 9 Dec 2006 20:12:04 +0000 Subject: Whoops, some stuff was sdrawkcab! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5896 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 206b5c3a1..a0563c255 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -3831,7 +3831,7 @@ class SecurityIPResolver : public Resolver SpanningTreeUtilities::SpanningTreeUtilities(InspIRCd* Instance, ModuleSpanningTree* C) : ServerInstance(Instance), Creator(C) { Bindings.clear(); - this->ReadConfiguration(true); + this->TreeRoot = new TreeServer(this, ServerInstance, ServerInstance->Config->ServerName, ServerInstance->Config->ServerDesc); modulelist* ml = ServerInstance->FindInterface("InspSocketHook"); @@ -3852,6 +3852,8 @@ SpanningTreeUtilities::SpanningTreeUtilities(InspIRCd* Instance, ModuleSpanningT ServerInstance->Log(DEBUG, "Found InspSocketHook interface: '%s' -> '%08x'", name.c_str(), *m); } } + + this->ReadConfiguration(true); } SpanningTreeUtilities::~SpanningTreeUtilities() -- cgit v1.2.3