diff options
Diffstat (limited to 'src/modules/m_spanningtree/override_admin.cpp')
-rw-r--r-- | src/modules/m_spanningtree/override_admin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/override_admin.cpp b/src/modules/m_spanningtree/override_admin.cpp index 3fd59f303..31d146eda 100644 --- a/src/modules/m_spanningtree/override_admin.cpp +++ b/src/modules/m_spanningtree/override_admin.cpp @@ -37,7 +37,7 @@ int ModuleSpanningTree::HandleAdmin(const std::vector<std::string>& parameters, { if (parameters.size() > 0) { - if (match(ServerInstance->Config->ServerName, parameters[0].c_str())) + if (match(ServerInstance->Config->ServerName, parameters[0])) return 0; /* Remote ADMIN, the server is within the 1st parameter */ |