]> 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 b0f39a1a46fd7c5ff756dee4c2d823df989c86e6..736faf22a528c4331e6cc45ac2e4dfeba7cbb50f 100644 (file)
 
 // include the common header files
 
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
 #include "users.h"
 #include "channels.h"
 
+/** Handle /NICK
+ */
 class cmd_nick : public command_t
 {
  public:
-        cmd_nick () : command_t("NICK",0,1) { }
-        void Handle(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