summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/encap.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-10-19 02:09:30 +0200
committerattilamolnar <attilamolnar@hush.com>2012-11-19 18:32:39 +0100
commit5c20fd57ec1913dc787b7c620bb4032851dd0d64 (patch)
treefb675039a80f3f30e2657612c7a0807b7cb31932 /src/modules/m_spanningtree/encap.cpp
parent81d7a5b538737cd568c30e158b408721ef1824c2 (diff)
Remove usage of deprecated CallCommandHandler() and IsValidModuleCommand()
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 0cc293fa5..dabfc086b 100644
--- a/src/modules/m_spanningtree/encap.cpp
+++ b/src/modules/m_spanningtree/encap.cpp
@@ -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
}