diff options
Diffstat (limited to 'modules/commands/ms_rsend.cpp')
-rw-r--r-- | modules/commands/ms_rsend.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/commands/ms_rsend.cpp b/modules/commands/ms_rsend.cpp index b414095fd..1033060be 100644 --- a/modules/commands/ms_rsend.cpp +++ b/modules/commands/ms_rsend.cpp @@ -99,9 +99,10 @@ class MSRSend : public Module { this->SetAuthor("Anope"); - if (!Config->MSMemoReceipt) + if (!memoserv) + throw ModuleException("No MemoServ!"); + else if (!Config->MSMemoReceipt) throw ModuleException("Invalid value for memoreceipt"); - } }; |