]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/encap.cpp
m_timedbans Notice user when trying to set a ban that's already set
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / encap.cpp
index 0cc293fa5d46d3e1d66ff87e79d8fe136a29b7e3..dabfc086bce5542b138d4638b074b8edbfd0acfe 100644 (file)
@@ -32,7 +32,7 @@ void TreeSocket::Encap(User* who, parameterlist &params)
                if (ServerInstance->Config->GetSID() == params[0] || InspIRCd::Match(ServerInstance->Config->ServerName, params[0]))
                {
                        parameterlist plist(params.begin() + 2, params.end());
-                       ServerInstance->CallCommandHandler(params[1].c_str(), plist, who);
+                       ServerInstance->Parser->CallHandler(params[1], plist, who);
                        // discard return value, ENCAP shall succeed even if the command does not exist
                }