1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 03:03:14 +02:00

Always use display for memo source

This commit is contained in:
Adam
2016-09-14 17:24:06 -04:00
parent b50fbec705
commit d8a945b1a6
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ class CommandMSRSend : public Command
source.Reply(ACCESS_DENIED);
else
{
MemoServService::MemoResult result = memoserv->Send(source.GetNick(), nick, text);
MemoServService::MemoResult result = memoserv->Send(source.GetAccount()->display, nick, text);
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)