diff options
author | Adam <Adam@anope.org> | 2011-01-10 17:41:09 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-01-10 17:41:09 -0500 |
commit | fd2412a5f65cfe171c0e4511a78388e4ddfa5903 (patch) | |
tree | 2a98c7a6ff0da2ed37d78ac727bcab4625f08fcb | |
parent | 07528ea8f29422dd1dc66c4c7b8e5454fe53037d (diff) |
Send new memo replies to the receiver of the memo
-rw-r--r-- | src/memoserv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/memoserv.cpp b/src/memoserv.cpp index a13eeab55..5d4943e0b 100644 --- a/src/memoserv.cpp +++ b/src/memoserv.cpp @@ -248,13 +248,13 @@ void memo_send(CommandSource &source, const Anope::string &name, const Anope::st NickAlias *na = *it; User *user = finduser(na->nick); if (user && user->IsIdentified()) - source.Reply(MEMO_NEW_MEMO_ARRIVED, sender.c_str(), Config->s_MemoServ.c_str(), mi->memos.size()); + user->SendMessage(MemoServ, MEMO_NEW_MEMO_ARRIVED, sender.c_str(), Config->s_MemoServ.c_str(), mi->memos.size()); } } else { if ((u = finduser(name)) && u->IsIdentified() && nc->HasFlag(NI_MEMO_RECEIVE)) - source.Reply(MEMO_NEW_MEMO_ARRIVED, sender.c_str(), Config->s_MemoServ.c_str(), mi->memos.size()); + u->SendMessage(MemoServ, MEMO_NEW_MEMO_ARRIVED, sender.c_str(), Config->s_MemoServ.c_str(), mi->memos.size()); } /* if (flags & MEMO_RECEIVE) */ } /* if (MSNotifyAll) */ |