summaryrefslogtreecommitdiff
path: root/modules/commands/ms_sendall.cpp
diff options
context:
space:
mode:
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 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."));