summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-09-30 10:19:29 +0100
committerPeter Powell <petpow@saberuk.com>2019-09-30 10:19:29 +0100
commit32d96016bd21fd5dff54503df4222c10662e57e5 (patch)
tree8c972682fba2b1164e0fd92d776a808ccbd0dd8a /src/modules/m_spanningtree
parent8ebe4ce2cb0331abfffd9f72455b17adfeea7bf2 (diff)
Fix an shadowing warning in the spanningtree module.
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r--src/modules/m_spanningtree/treeserver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/treeserver.cpp b/src/modules/m_spanningtree/treeserver.cpp
index 6fb6705ba..91bac36f9 100644
--- a/src/modules/m_spanningtree/treeserver.cpp
+++ b/src/modules/m_spanningtree/treeserver.cpp
@@ -56,8 +56,8 @@ TreeServer::TreeServer()
* This constructor initializes the server's Route and Parent, and sets up
* the ping timer for the server.
*/
-TreeServer::TreeServer(const std::string& Name, const std::string& Desc, const std::string& id, TreeServer* Above, TreeSocket* Sock, bool Hide)
- : Server(id, Name, Desc)
+TreeServer::TreeServer(const std::string& Name, const std::string& Desc, const std::string& Sid, TreeServer* Above, TreeSocket* Sock, bool Hide)
+ : Server(Sid, Name, Desc)
, Parent(Above)
, Socket(Sock)
, behind_bursting(Parent->behind_bursting)