syntax = "<limit>";
}
- CmdResult Handle (const char** parameters, int pcnt, User *user)
+ CmdResult Handle (const std::vector<std::string> ¶meters, User *user)
{
std::string clonesstr = "304 " + std::string(user->nick) + " :CLONES";
- unsigned long limit = atoi(parameters[0]);
+ unsigned long limit = atoi(parameters[0].c_str());
/*
* Syntax of a /clones reply:
virtual Version GetVersion()
{
- return Version(1, 1, 0, 0, VF_VENDOR, API_VERSION);
+ return Version(1, 2, 0, 0, VF_VENDOR, API_VERSION);
}