]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_userhost.cpp
Fix total mess of makefile dependency macros (all depending on stuff they dont NEED...
[user/henk/code/inspircd.git] / src / commands / cmd_userhost.cpp
index d6b34456f29f2d993c2a326ad1df004ff22ab869..9ed8b30ab09ea2515fe37dd2380f226ae4376e6b 100644 (file)
@@ -19,12 +19,12 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance)
        return new CommandUserhost(Instance);
 }
 
-CmdResult CommandUserhost::Handle (const char** parameters, int pcnt, User *user)
+CmdResult CommandUserhost::Handle (const std::vector<std::string>& parameters, User *user)
 {
        std::string retbuf = std::string("302 ") + user->nick + " :";
 
        
-       for (int i = 0; i < pcnt; i++)
+       for (unsigned int i = 0; i < parameters.size(); i++)
        {
                User *u = ServerInstance->FindNick(parameters[i]);