]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_spanningtree/sinfo.cpp
Add an event provider class for the event/messagetag event.
[user/henk/code/inspircd.git] / src / modules / m_spanningtree / sinfo.cpp
index 7f175bafb47d856750a3a49560202ca3583143ae..825429f2f6db30ef00cf2017debeb819b10cabc6 100644 (file)
@@ -21,7 +21,7 @@
 #include "treeserver.h"
 #include "commands.h"
 
-CmdResult CommandSInfo::HandleServer(TreeServer* server, std::vector<std::string>& params)
+CmdResult CommandSInfo::HandleServer(TreeServer* server, CommandBase::Params& params)
 {
        const std::string& key = params.front();
        const std::string& value = params.back();
@@ -49,7 +49,7 @@ CmdResult CommandSInfo::HandleServer(TreeServer* server, std::vector<std::string
 }
 
 CommandSInfo::Builder::Builder(TreeServer* server, const char* key, const std::string& val)
-       : CmdBuilder(server->GetID(), "SINFO")
+       : CmdBuilder(server, "SINFO")
 {
        push(key).push_last(val);
 }