]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/encap.cpp
Fix typo opermoth -> opermotd. Thanks Ankit.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / encap.cpp
index 9335c0c7f235940c6e0123e871dc8e512f82d62f..3bafe5b2f8e0d07a7c9b6d0b956949596d8f9393 100644 (file)
@@ -27,10 +27,10 @@ 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(ServerInstance->Config->GetSID(), params[0]))
                {
                        Event event((char*) &params, (Module*)this->Utils->Creator, "encap_received");
-                       event.Send(Instance);
+                       event.Send(ServerInstance);
                }
 
                if (params[0].find('*') != std::string::npos)