summaryrefslogtreecommitdiff
path: root/modules/core/ms_staff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/ms_staff.cpp')
-rw-r--r--modules/core/ms_staff.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/ms_staff.cpp b/modules/core/ms_staff.cpp
index 7f81aafe2..a53289610 100644
--- a/modules/core/ms_staff.cpp
+++ b/modules/core/ms_staff.cpp
@@ -60,13 +60,15 @@ class CommandMSStaff : public Command
class MSStaff : public Module
{
+ CommandMSStaff commandmsstaff;
+
public:
MSStaff(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator)
{
this->SetAuthor("Anope");
this->SetType(CORE);
- this->AddCommand(MemoServ, new CommandMSStaff());
+ this->AddCommand(MemoServ, &commandmsstaff);
}
};