diff options
Diffstat (limited to 'src/modules/m_spanningtree/stats.cpp')
-rw-r--r-- | src/modules/m_spanningtree/stats.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/stats.cpp b/src/modules/m_spanningtree/stats.cpp index 810b6dc77..d67c5a3af 100644 --- a/src/modules/m_spanningtree/stats.cpp +++ b/src/modules/m_spanningtree/stats.cpp @@ -12,8 +12,6 @@ */ #include "inspircd.h" -#include "commands/cmd_whois.h" -#include "commands/cmd_stats.h" #include "socket.h" #include "xline.h" #include "../transport.h" @@ -44,7 +42,7 @@ bool TreeSocket::Stats(const std::string &prefix, parameterlist ¶ms) parameterlist par; par.push_back(prefix); par.push_back(""); - DoStats(this->ServerInstance, *(params[0].c_str()), source, results); + ServerInstance->DoStats(params[0][0], source, results); for (size_t i = 0; i < results.size(); i++) { par[1] = "::" + results[i]; |