]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_pass.h
Annotations
[user/henk/code/inspircd.git] / include / commands / cmd_pass.h
index 03c5ca7fc16412faec1cf7782c3bad6d4a426607..410c8bb40abcf50ff6097ac6d470feeabafffc31 100644 (file)
 
 // include the common header files
 
-#include <typeinfo>
-#include <iostream>
 #include <string>
-#include <deque>
-#include <sstream>
 #include <vector>
+#include "inspircd.h"
 #include "users.h"
 #include "channels.h"
 
+/** Handle /PASS
+ */
 class cmd_pass : public command_t
 {
  public:
-        cmd_pass () : command_t("PASS",0,1) { }
-        void Handle(char **parameters, int pcnt, userrec *user);
+        cmd_pass (InspIRCd* Instance) : command_t(Instance,"PASS",0,1,true) { syntax = "<password>"; }
+        CmdResult Handle(const char** parameters, int pcnt, userrec *user);
 };
 
 #endif