diff options
author | Adam <Adam@anope.org> | 2016-09-14 17:24:06 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-09-14 17:24:06 -0400 |
commit | d8a945b1a6f4e500bcb9162cf388f6984ad38328 (patch) | |
tree | 4d86cb5925780dad92deb04173aeee5956f6f8dc /modules/commands/ms_rsend.cpp | |
parent | b50fbec705dffd85a28946b99ac510b978934a05 (diff) |
Always use display for memo source
Diffstat (limited to 'modules/commands/ms_rsend.cpp')
-rw-r--r-- | modules/commands/ms_rsend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ms_rsend.cpp b/modules/commands/ms_rsend.cpp index b7744131a..e703ba067 100644 --- a/modules/commands/ms_rsend.cpp +++ b/modules/commands/ms_rsend.cpp @@ -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) |