summaryrefslogtreecommitdiff
path: root/src/modules/m_alltime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_alltime.cpp')
-rw-r--r--src/modules/m_alltime.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_alltime.cpp b/src/modules/m_alltime.cpp
index 79a94c2b6..7121ac4c7 100644
--- a/src/modules/m_alltime.cpp
+++ b/src/modules/m_alltime.cpp
@@ -18,9 +18,8 @@
class CommandAlltime : public Command
{
public:
- CommandAlltime(InspIRCd *Instance) : Command(Instance, "ALLTIME", "o", 0)
+ CommandAlltime(InspIRCd *Instance, Module* Creator) : Command(Instance, Creator, "ALLTIME", "o", 0)
{
- this->source = "m_alltime.so";
syntax.clear();
translation.push_back(TR_END);
}
@@ -53,7 +52,7 @@ class Modulealltime : public Module
CommandAlltime mycommand;
public:
Modulealltime(InspIRCd *Me)
- : Module(Me), mycommand(Me)
+ : Module(Me), mycommand(Me, this)
{
ServerInstance->AddCommand(&mycommand);
}