summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/admin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/admin.cpp')
-rw-r--r--src/modules/m_spanningtree/admin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/admin.cpp b/src/modules/m_spanningtree/admin.cpp
index 0faff3d57..a034d7f52 100644
--- a/src/modules/m_spanningtree/admin.cpp
+++ b/src/modules/m_spanningtree/admin.cpp
@@ -25,7 +25,7 @@ bool TreeSocket::Admin(const std::string &prefix, std::deque<std::string> &param
{
if (params.size() > 0)
{
- if (this->Instance->MatchText(this->Instance->Config->ServerName, params[0]))
+ if (InspIRCd::Match(this->Instance->Config->ServerName, params[0]))
{
/* It's for our server */
string_list results;