1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 04:53:12 +02:00

Log when memos are sent

This commit is contained in:
Adam
2014-10-06 14:06:14 -04:00
parent be928b5bbc
commit 58233fb8bc
+3
View File
@@ -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)