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