summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/modules.cpp')
-rw-r--r--src/modules/m_spanningtree/modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/modules.cpp b/src/modules/m_spanningtree/modules.cpp
index 17321c5fd..71cd93041 100644
--- a/src/modules/m_spanningtree/modules.cpp
+++ b/src/modules/m_spanningtree/modules.cpp
@@ -26,7 +26,7 @@ bool TreeSocket::Modules(const std::string &prefix, std::deque<std::string> &par
if (params.empty())
return true;
- if (!this->Instance->MatchText(this->Instance->Config->ServerName, params[0]))
+ if (!InspIRCd::Match(this->Instance->Config->ServerName, params[0]))
{
/* Pass it on, not for us */
Utils->DoOneToOne(prefix, "MODULES", params, params[0]);