diff options
Diffstat (limited to 'modules/core/os_set.cpp')
-rw-r--r-- | modules/core/os_set.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/os_set.cpp b/modules/core/os_set.cpp index 4bfdaa68a..74398cb9a 100644 --- a/modules/core/os_set.cpp +++ b/modules/core/os_set.cpp @@ -299,13 +299,15 @@ class CommandOSSet : public Command class OSSet : public Module { + CommandOSSet commandosset; + public: OSSet(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator) { this->SetAuthor("Anope"); this->SetType(CORE); - this->AddCommand(OperServ, new CommandOSSet()); + this->AddCommand(OperServ, &commandosset); } }; |