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.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/commands/ms_send.cpp b/modules/commands/ms_send.cpp
index f8f857607..5f3754cd0 100644
--- a/modules/commands/ms_send.cpp
+++ b/modules/commands/ms_send.cpp
@@ -47,7 +47,10 @@ class CommandMSSend : public Command
MemoServService::MemoResult result = memoserv->Send(source.GetNick(), nick, text);
if (result == MemoServService::MEMO_SUCCESS)
+ {
source.Reply(_("Memo sent to \002%s\002."), nick.c_str());
+ Log(LOG_COMMAND, source, this) << "to send a memo to " << nick;
+ }
else if (result == MemoServService::MEMO_INVALID_TARGET)
source.Reply(_("\002%s\002 is not a registered unforbidden nick or channel."), nick.c_str());
else if (result == MemoServService::MEMO_TOO_FAST)