summaryrefslogtreecommitdiff
path: root/src/memoserv.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-12-23 18:39:54 -0500
committerAdam <Adam@anope.org>2010-12-23 18:39:54 -0500
commit3009540a00d392912affea5f2545134e2f657c01 (patch)
tree15be0334f0d50dd67e0ce86e4e9f6ea273225ae3 /src/memoserv.cpp
parent265006b69176e1d8130284c63bcb50a1b67a426f (diff)
Rewrote the ignore code. Adds creator and reason to /os ignore list.
Diffstat (limited to 'src/memoserv.cpp')
-rw-r--r--src/memoserv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/memoserv.cpp b/src/memoserv.cpp
index ef6a9a5f8..13543011a 100644
--- a/src/memoserv.cpp
+++ b/src/memoserv.cpp
@@ -239,7 +239,7 @@ void memo_send(CommandSource &source, const Anope::string &name, const Anope::st
if (Config->MSNotifyAll)
{
- if (nc->HasFlag(NI_MEMO_RECEIVE) && !get_ignore(name))
+ if (nc->HasFlag(NI_MEMO_RECEIVE))
{
for (std::list<NickAlias *>::iterator it = nc->aliases.begin(), it_end = nc->aliases.end(); it != it_end; ++it)
{
@@ -274,7 +274,7 @@ void memo_send(CommandSource &source, const Anope::string &name, const Anope::st
if (check_access(cu->user, c->ci, CA_MEMO))
{
- if (cu->user->Account() && cu->user->Account()->HasFlag(NI_MEMO_RECEIVE) && !get_ignore(cu->user->nick))
+ if (cu->user->Account() && cu->user->Account()->HasFlag(NI_MEMO_RECEIVE))
cu->user->SendMessage(MemoServ, MEMO_NEW_X_MEMO_ARRIVED, c->ci->name.c_str(), Config->s_MemoServ.c_str(), c->ci->name.c_str(), mi->memos.size());
}
}