diff options
Diffstat (limited to 'modules/core/os_ignore.cpp')
-rw-r--r-- | modules/core/os_ignore.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/os_ignore.cpp b/modules/core/os_ignore.cpp index 5a97462fd..eb15ad3b1 100644 --- a/modules/core/os_ignore.cpp +++ b/modules/core/os_ignore.cpp @@ -133,13 +133,15 @@ class CommandOSIgnore : public Command class OSIgnore : public Module { + CommandOSIgnore commandosignore; + public: OSIgnore(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(OperServ, new CommandOSIgnore()); + this->AddCommand(OperServ, &commandosignore); Implementation i[] = { I_OnDatabaseRead, I_OnDatabaseWrite }; ModuleManager::Attach(i, this, 2); |