From 72e28e60de5dcef99d077f51b7f5f4a32b6b92f1 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 27 Oct 2018 18:17:08 +0100 Subject: Fix a shadowing warning in the spanningtree module. --- src/modules/m_spanningtree/capab.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 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; -- cgit v1.2.3