// 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