]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_nick.h
DO NOT USE THIS COMMIT - if you do, most of the modules wont work.
[user/henk/code/inspircd.git] / include / commands / cmd_nick.h
index 1924ce1e8eb4fe65b598f3c08b8a684d1dae30bc..736faf22a528c4331e6cc45ac2e4dfeba7cbb50f 100644 (file)
 #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