summaryrefslogtreecommitdiff
path: root/modules/core/os_staff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/os_staff.cpp')
-rw-r--r--modules/core/os_staff.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/os_staff.cpp b/modules/core/os_staff.cpp
index db701fc55..e8a8bf0a9 100644
--- a/modules/core/os_staff.cpp
+++ b/modules/core/os_staff.cpp
@@ -69,13 +69,15 @@ class CommandOSStaff : public Command
class OSStaff : public Module
{
+ CommandOSStaff commandosstaff;
+
public:
OSStaff(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
{
this->SetAuthor("Anope");
this->SetType(CORE);
- this->AddCommand(OperServ, new CommandOSStaff());
+ this->AddCommand(OperServ, &commandosstaff);
}
};