diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-10-19 02:09:30 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-11-19 18:32:39 +0100 |
commit | 5c20fd57ec1913dc787b7c620bb4032851dd0d64 (patch) | |
tree | fb675039a80f3f30e2657612c7a0807b7cb31932 /src/modules/m_spanningtree/encap.cpp | |
parent | 81d7a5b538737cd568c30e158b408721ef1824c2 (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.cpp | 2 |
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 ¶ms) 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 } |