diff options
Diffstat (limited to 'modules/memoserv/send.cpp')
-rw-r--r-- | modules/memoserv/send.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/memoserv/send.cpp b/modules/memoserv/send.cpp index 98567c3e2..418a82c21 100644 --- a/modules/memoserv/send.cpp +++ b/modules/memoserv/send.cpp @@ -56,11 +56,17 @@ class CommandMSSend : public Command Log(LOG_COMMAND, source, this) << "to send a memo to " << nick; } else if (result == MemoServ::MemoServService::MEMO_INVALID_TARGET) + { source.Reply(_("\002{0}\002 is not a registered unforbidden nick or channel."), nick); + } else if (result == MemoServ::MemoServService::MEMO_TOO_FAST) + { source.Reply(_("Please wait \002{0}\002 seconds before using the \002{1}\002 command again."), Config->GetModule("memoserv/main")->Get<time_t>("senddelay"), source.command); + } else if (result == MemoServ::MemoServService::MEMO_TARGET_FULL) + { source.Reply(_("Sorry, \002{0}\002 currently has too many memos and cannot receive more."), nick); + } } bool OnHelp(CommandSource &source, const Anope::string &subcommand) override |