/* $ModDesc: Provides support for the SETNAME command */
-Server *Srv;
+static Server *Srv;
class cmd_setname : public command_t
{
cmd_setname () : command_t("SETNAME", 0, 1)
{
this->source = "m_setname.so";
+ syntax = "<new-gecos>";
}
- void Handle (char **parameters, int pcnt, userrec *user)
+ void Handle (const char** parameters, int pcnt, userrec *user)
{
std::string line = "";
for (int i = 0; i < pcnt-1; i++)