#include "inspircd.h"
-/* $ModDesc: Allows opers to set their idle time */
-
/** Handle /SETIDLE
*/
class CommandSetidle : public SplitCommand
CommandSetidle(Module* Creator) : SplitCommand(Creator,"SETIDLE", 1)
{
flags_needed = 'o'; syntax = "<duration>";
- TRANSLATE2(TR_TEXT, TR_END);
}
CmdResult HandleLocal(const std::vector<std::string>& parameters, LocalUser* user)
{
}
- void init()
+ void init() CXX11_OVERRIDE
{
ServerInstance->Modules->AddService(cmd);
}
- virtual Version GetVersion()
+ Version GetVersion() CXX11_OVERRIDE
{
return Version("Allows opers to set their idle time", VF_VENDOR);
}