summaryrefslogtreecommitdiff
path: root/modules/commands/ms_sendall.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-09-14 17:24:06 -0400
committerAdam <Adam@anope.org>2016-09-14 17:24:06 -0400
commitd8a945b1a6f4e500bcb9162cf388f6984ad38328 (patch)
tree4d86cb5925780dad92deb04173aeee5956f6f8dc /modules/commands/ms_sendall.cpp
parentb50fbec705dffd85a28946b99ac510b978934a05 (diff)
Always use display for memo source
Diffstat (limited to 'modules/commands/ms_sendall.cpp')
-rw-r--r--modules/commands/ms_sendall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ms_sendall.cpp b/modules/commands/ms_sendall.cpp
index 4cc0f350c..8f0514d6f 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.GetNick(), nc->display, text);
+ memoserv->Send(source.GetAccount()->display, nc->display, text);
}
source.Reply(_("A massmemo has been sent to all registered users."));