summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-09-23 11:49:26 +0100
committerPeter Powell <petpow@saberuk.com>2019-09-23 13:18:14 +0100
commita4305d8f3c3e613be839bdcd61a1d14c87fed5aa (patch)
tree16e01b6079f017c00d2bda2da0fcb759b98a5ea1 /src/modules/m_spanningtree/main.cpp
parentb64177d3fb4f113c4db3325575970964867f01cc (diff)
Add the server id to the Server class.
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-rw-r--r--src/modules/m_spanningtree/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 43417bc3c..2848ce940 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -804,7 +804,7 @@ ModuleSpanningTree::~ModuleSpanningTree()
{
ServerInstance->PI = &ServerInstance->DefaultProtocolInterface;
- Server* newsrv = new Server(ServerInstance->Config->ServerName, ServerInstance->Config->ServerDesc);
+ Server* newsrv = new Server(ServerInstance->Config->GetSID(), ServerInstance->Config->ServerName, ServerInstance->Config->ServerDesc);
SetLocalUsersServer(newsrv);
delete Utils;