summaryrefslogtreecommitdiff
path: root/modules/commands/ms_ignore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ms_ignore.cpp')
-rw-r--r--modules/commands/ms_ignore.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/modules/commands/ms_ignore.cpp b/modules/commands/ms_ignore.cpp
index 056b20128..28dd6514d 100644
--- a/modules/commands/ms_ignore.cpp
+++ b/modules/commands/ms_ignore.cpp
@@ -9,13 +9,8 @@
* Based on the original code of Services by Andy Church.
*/
-/*************************************************************************/
-
-
#include "module.h"
-static ServiceReference<MemoServService> MemoServService("MemoServService", "MemoServ");
-
class CommandMSIgnore : public Command
{
public:
@@ -29,10 +24,6 @@ class CommandMSIgnore : public Command
void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override
{
- if (!MemoServService)
- return;
-
-
Anope::string channel = params[0];
Anope::string command = (params.size() > 1 ? params[1] : "");
Anope::string param = (params.size() > 2 ? params[2] : "");
@@ -123,9 +114,6 @@ class MSIgnore : public Module
MSIgnore(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandmsignore(this)
{
-
- if (!MemoServService)
- throw ModuleException("No MemoServ!");
}
};