]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_opermotd.cpp
class command_t -> class Command. Whey :D
[user/henk/code/inspircd.git] / src / modules / m_opermotd.cpp
index da4361ca333b71e915f61612122afc965281b8d5..2ae4c30b59d232572c5d6506ff321f442e96cb2c 100644 (file)
@@ -12,9 +12,6 @@
  */
 
 #include "inspircd.h"
-#include "users.h"
-#include "channels.h"
-#include "modules.h"
 
 /* $ModDesc: Shows a message to opers after oper-up, adds /opermotd */
 
@@ -43,10 +40,10 @@ CmdResult ShowOperMOTD(userrec* user)
 
 /** Handle /OPERMOTD
  */
-class cmd_opermotd : public command_t
+class cmd_opermotd : public Command
 {
  public:
-       cmd_opermotd (InspIRCd* Instance) : command_t(Instance,"OPERMOTD", 'o', 0)
+       cmd_opermotd (InspIRCd* Instance) : Command(Instance,"OPERMOTD", 'o', 0)
        {
                this->source = "m_opermotd.so";
                syntax = "[<servername>]";
@@ -113,4 +110,4 @@ class ModuleOpermotd : public Module
        }
 };
 
-MODULE_INIT(ModuleOpermotd);
+MODULE_INIT(ModuleOpermotd)