diff options
Diffstat (limited to 'src/modules/m_antibear.cpp')
-rw-r--r-- | src/modules/m_antibear.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_antibear.cpp b/src/modules/m_antibear.cpp index e429f5c56..a89e9dd4d 100644 --- a/src/modules/m_antibear.cpp +++ b/src/modules/m_antibear.cpp @@ -20,7 +20,7 @@ class ModuleAntiBear : public Module { LocalIntExt bearExt; public: - ModuleAntiBear(InspIRCd* Me) : Module(Me), bearExt("antibear_timewait", this) + ModuleAntiBear() : bearExt("antibear_timewait", this) { Extensible::Register(&bearExt); Implementation eventlist[] = { I_OnUserRegister, I_OnPreCommand }; @@ -42,7 +42,7 @@ class ModuleAntiBear : public Module { if (!strncmp(parameters[1].c_str(), "\1TIME Mon May 01 18:54:20 2006", 30)) { - ZLine* zl = new ZLine(ServerInstance, ServerInstance->Time(), 86400, ServerInstance->Config->ServerName, + ZLine* zl = new ZLine(ServerInstance->Time(), 86400, ServerInstance->Config->ServerName, "Unless you're stuck in a time warp, you appear to be a bear bot!", user->GetIPString()); if (ServerInstance->XLines->AddLine(zl,NULL)) { |