summaryrefslogtreecommitdiff
path: root/modules/commands/ms_rsend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ms_rsend.cpp')
-rw-r--r--modules/commands/ms_rsend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ms_rsend.cpp b/modules/commands/ms_rsend.cpp
index 19bd80437..fafcf5eff 100644
--- a/modules/commands/ms_rsend.cpp
+++ b/modules/commands/ms_rsend.cpp
@@ -63,7 +63,7 @@ class CommandMSRSend : public Command
source.Reply(_("Memo sent to \002%s\002."), name.c_str());
bool ischan;
- MemoInfo *mi = MemoServService->GetMemoInfo(nick, ischan);
+ MemoInfo *mi = MemoInfo::GetMemoInfo(nick, ischan);
if (mi == NULL)
throw CoreException("NULL mi in ms_rsend");
Memo *m = (mi->memos->size() ? mi->GetMemo(mi->memos->size() - 1) : NULL);