summaryrefslogtreecommitdiff
path: root/modules/commands/ms_send.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ms_send.cpp')
-rw-r--r--modules/commands/ms_send.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/commands/ms_send.cpp b/modules/commands/ms_send.cpp
index 3e5aeaaad..d125718a7 100644
--- a/modules/commands/ms_send.cpp
+++ b/modules/commands/ms_send.cpp
@@ -66,6 +66,8 @@ class MSSend : public Module
{
this->SetAuthor("Anope");
+ if (!memoserv)
+ throw ModuleException("No MemoServ!");
}
};