]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_privmsg.h
Move whowas containers into whowas class to avoid all cpp files including cmd_whowas...
[user/henk/code/inspircd.git] / include / commands / cmd_privmsg.h
index 12b11cb229be7281086d8bc37d002daab99d2d15..7e58f0c6ad782f3165934bc5d88ed6062c23d2f3 100644 (file)
 
 // 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