]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/encap.cpp
m_spanningtree Replace manual string building of outgoing commands with CmdBuilder...
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / encap.cpp
index 566f15da88d0298ee49c1b2bceda14b7ea7603ee..95f8f4e4a7da0ea4b7f7f6da73cfc7efda3185c7 100644 (file)
@@ -28,7 +28,7 @@ CmdResult CommandEncap::Handle(User* user, std::vector<std::string>& params)
        {
                parameterlist plist(params.begin() + 2, params.end());
                Command* cmd = NULL;
-               ServerInstance->Parser->CallHandler(params[1], plist, user, &cmd);
+               ServerInstance->Parser.CallHandler(params[1], plist, user, &cmd);
                // Discard return value, ENCAP shall succeed even if the command does not exist
 
                if ((cmd) && (cmd->force_manual_route))