diff options
author | Peter Powell <petpow@saberuk.com> | 2019-09-30 10:19:29 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-09-30 10:19:29 +0100 |
commit | 32d96016bd21fd5dff54503df4222c10662e57e5 (patch) | |
tree | 8c972682fba2b1164e0fd92d776a808ccbd0dd8a /src/modules/m_spanningtree | |
parent | 8ebe4ce2cb0331abfffd9f72455b17adfeea7bf2 (diff) |
Fix an shadowing warning in the spanningtree module.
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/treeserver.cpp | 4 |
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) |