]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_motd.h
DO NOT USE THIS COMMIT - if you do, most of the modules wont work.
[user/henk/code/inspircd.git] / include / commands / cmd_motd.h
index ca065f97e8e8c6ca168c48f69ad63c8b53cd9f43..2b625a241ff35e0324ba3634c32b0ae9e86ef0ec 100644 (file)
 
 // 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 /MOTD
+ */
 class cmd_motd : public command_t
 {
  public:
-        cmd_motd () : command_t("MOTD",0,0) { }
-        void Handle(const char** parameters, int pcnt, userrec *user);
+        cmd_motd (InspIRCd* Instance) : command_t(Instance,"MOTD",0,0) { syntax = "[<servername>]"; }
+        CmdResult Handle(const char** parameters, int pcnt, userrec *user);
 };
 
 #endif