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