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