#include "users.h"
#include "channels.h"
+/** Handle /NICK
+ */
class cmd_nick : public command_t
{
public:
- cmd_nick (InspIRCd* Instance) : command_t(Instance,"NICK",0,1) { syntax = "<newnick>"; }
- void Handle(const char** parameters, int pcnt, userrec *user);
+ cmd_nick (InspIRCd* Instance) : command_t(Instance,"NICK",0,1,true) { syntax = "<newnick>"; }
+ CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
#endif