summaryrefslogtreecommitdiff
path: root/modules/commands/ms_staff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ms_staff.cpp')
-rw-r--r--modules/commands/ms_staff.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/commands/ms_staff.cpp b/modules/commands/ms_staff.cpp
index 8313d0ab5..524190bb4 100644
--- a/modules/commands/ms_staff.cpp
+++ b/modules/commands/ms_staff.cpp
@@ -25,6 +25,9 @@ class CommandMSStaff : public Command
void Execute(CommandSource &source, const std::vector<Anope::string> &params)
{
+ if (!memoserv)
+ return;
+
const Anope::string &text = params[0];
if (readonly)