// include the common header files
-#include <typeinfo>
-#include <iostream>
-#include <string>
-#include <deque>
-#include <sstream>
-#include <vector>
#include "users.h"
#include "channels.h"
+/** Handle /USER
+ */
class cmd_user : public command_t
{
public:
- cmd_user () : command_t("USER",0,4) { }
- void Handle(const char** parameters, int pcnt, userrec *user);
+ cmd_user (InspIRCd* Instance) : command_t(Instance,"USER",0,4,true) { syntax = "<username> <localhost> <remotehost> <GECOS>"; }
+ CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
#endif