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

Revert "Always use display for memo source"

This reverts commit d8a945b1a6.
This commit is contained in:
Adam
2016-09-30 20:52:38 -04:00
parent f3bb46a9f5
commit 1c82697ccb
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ class CommandMSSend : public Command
return;
}
MemoServService::MemoResult result = memoserv->Send(source.GetAccount()->display, nick, text);
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());