diff options
author | Peter Powell <petpow@saberuk.com> | 2018-10-27 18:17:08 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-10-27 18:17:23 +0100 |
commit | 72e28e60de5dcef99d077f51b7f5f4a32b6b92f1 (patch) | |
tree | 9c540f91cfe3692c3d671d0d9f5ca4c39be63538 /src/modules/m_spanningtree/capab.cpp | |
parent | ac09aff7f4db2e915cf9fb84d209f577530c09e2 (diff) |
Fix a shadowing warning in the spanningtree module.
Diffstat (limited to 'src/modules/m_spanningtree/capab.cpp')
-rw-r--r-- | src/modules/m_spanningtree/capab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/capab.cpp b/src/modules/m_spanningtree/capab.cpp index 795627a61..16e3bfbf0 100644 --- a/src/modules/m_spanningtree/capab.cpp +++ b/src/modules/m_spanningtree/capab.cpp @@ -79,10 +79,10 @@ std::string TreeSocket::MyModules(int filter) return capabilities; } -std::string TreeSocket::BuildModeList(ModeType type) +std::string TreeSocket::BuildModeList(ModeType mtype) { std::vector<std::string> modes; - const ModeParser::ModeHandlerMap& mhs = ServerInstance->Modes.GetModes(type); + const ModeParser::ModeHandlerMap& mhs = ServerInstance->Modes.GetModes(mtype); for (ModeParser::ModeHandlerMap::const_iterator i = mhs.begin(); i != mhs.end(); ++i) { const ModeHandler* const mh = i->second; |