summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/motd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/motd.cpp')
-rw-r--r--src/modules/m_spanningtree/motd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/motd.cpp b/src/modules/m_spanningtree/motd.cpp
index 517d4b48c..6ec09c5fd 100644
--- a/src/modules/m_spanningtree/motd.cpp
+++ b/src/modules/m_spanningtree/motd.cpp
@@ -27,7 +27,7 @@ bool TreeSocket::Motd(const std::string &prefix, std::deque<std::string> &params
{
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;