]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/encap.cpp
Fix various rline bugs, implement /stats R, and fix the issue where you get no error...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / encap.cpp
index 9335c0c7f235940c6e0123e871dc8e512f82d62f..02233e91678cc51db1bcadec52ca1d49d7742b25 100644 (file)
@@ -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);