* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_user : public command_t
+class cmd_user : public Command
{
public:
/** Constructor for user.
*/
- cmd_user (InspIRCd* Instance) : command_t(Instance,"USER",0,4,true) { syntax = "<username> <localhost> <remotehost> <GECOS>"; }
+ cmd_user (InspIRCd* Instance) : Command(Instance,"USER",0,4,true) { syntax = "<username> <localhost> <remotehost> <GECOS>"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif