diff options
author | Adam <Adam@anope.org> | 2016-09-30 20:52:38 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-09-30 20:52:38 -0400 |
commit | 1c82697ccbf85359e86ec815bd66a74803c7ac3f (patch) | |
tree | 1c807d307d54bbecdbfec011040ade1327f76210 /modules/commands/ms_sendall.cpp | |
parent | f3bb46a9f5bb6154f9d23dc62765758a9135f0e6 (diff) |
Revert "Always use display for memo source"
This reverts commit d8a945b1a6f4e500bcb9162cf388f6984ad38328.
Diffstat (limited to 'modules/commands/ms_sendall.cpp')
-rw-r--r-- | modules/commands/ms_sendall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ms_sendall.cpp b/modules/commands/ms_sendall.cpp index 8f0514d6f..4cc0f350c 100644 --- a/modules/commands/ms_sendall.cpp +++ b/modules/commands/ms_sendall.cpp @@ -39,7 +39,7 @@ class CommandMSSendAll : public Command const NickCore *nc = it->second; if (nc != source.nc) - memoserv->Send(source.GetAccount()->display, nc->display, text); + memoserv->Send(source.GetNick(), nc->display, text); } source.Reply(_("A massmemo has been sent to all registered users.")); |