summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/encap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/encap.cpp')
-rw-r--r--src/modules/m_spanningtree/encap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/encap.cpp b/src/modules/m_spanningtree/encap.cpp
index 9335c0c7f..02233e916 100644
--- a/src/modules/m_spanningtree/encap.cpp
+++ b/src/modules/m_spanningtree/encap.cpp
@@ -27,7 +27,7 @@ bool TreeSocket::Encap(const std::string &prefix, std::deque<std::string> &param
{
if (params.size() > 1)
{
- if (Instance->MatchText(Instance->Config->GetSID(), params[0]))
+ if (InspIRCd::Match(Instance->Config->GetSID(), params[0]))
{
Event event((char*) &params, (Module*)this->Utils->Creator, "encap_received");
event.Send(Instance);