summaryrefslogtreecommitdiff
path: root/src/modules/m_opermotd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_opermotd.cpp')
-rw-r--r--src/modules/m_opermotd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp
index 6b964a8b2..d9be627e5 100644
--- a/src/modules/m_opermotd.cpp
+++ b/src/modules/m_opermotd.cpp
@@ -63,10 +63,10 @@ class ModuleOpermotd : public Module
{
cmd_opermotd* mycommand;
public:
- ModuleOpermotd(Server* Me)
+ ModuleOpermotd(InspIRCd* Me)
: Module::Module(Me)
{
- Srv = Me;
+
mycommand = new cmd_opermotd();
Srv->AddCommand(mycommand);
opermotd = new FileReader();
@@ -110,7 +110,7 @@ class ModuleOpermotdFactory : public ModuleFactory
{
}
- virtual Module* CreateModule(Server* Me)
+ virtual Module* CreateModule(InspIRCd* Me)
{
return new ModuleOpermotd(Me);
}