/* $ModDesc: Allows opers to set their idle time */
-Server *Srv = NULL;
+static Server *Srv = NULL;
class cmd_setidle : public command_t
{
cmd_setidle () : command_t("SETIDLE", 'o', 1)
{
this->source = "m_setidle.so";
+ syntax = "<idle-seconds>";
}
- void Handle (char **parameters, int pcnt, userrec *user)
+ void Handle (const char** parameters, int pcnt, userrec *user)
{
if (atoi(parameters[0]) < 1)
{