CMD_FAILURE = 0, /* Command exists, but failed */
CMD_SUCCESS = 1, /* Command exists, and succeeded */
CMD_INVALID = 2, /* Command doesnt exist at all! */
+ CMD_USER_DELETED = 3, /* User was deleted! */
};
/** A structure that defines a command
virtual CmdResult Handle(const char** parameters, int pcnt, userrec* user) = 0;
+ virtual CmdResult HandleServer(const char** parameters, int pcnt, const std::string &servername)
+ {
+ return CMD_INVALID;
+ }
+
void Disable(bool setting)
{
disabled = setting;