filename = conf->ReadValue("opermotd","file",0);
opermotd->LoadFile(filename);
- delete conf;
+ DELETE(conf);
}
void ShowOperMOTD(userrec* user)
cmd_opermotd () : command_t("OPERMOTD", 'o', 0)
{
this->source = "m_opermotd.so";
+ syntax = "[<servername>]";
}
- void Handle (char** parameters, int pcnt, userrec* user)
+ void Handle (const char** parameters, int pcnt, userrec* user)
{
ShowOperMOTD(user);
}