summaryrefslogtreecommitdiff
path: root/memoserv.c
diff options
context:
space:
mode:
authorribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-06-02 18:25:59 +0000
committerribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-06-02 18:25:59 +0000
commit3e9e166cd46b30bce1ff567c00d43dc2af38b8b1 (patch)
treee4b4b28a1f888a0ef33fe8a59fe52b2b7d070ddc /memoserv.c
parent3f81431ca1159b68dd7a9a67d0d422957ae1b3f2 (diff)
BUILD : 1.7.3 (162) BUGS : 79 NOTES : Fixed bug 79 (memoserv set notify not working) also fixed a blocker bug in actions.c
git-svn-id: svn://svn.anope.org/anope/trunk@162 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@111 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'memoserv.c')
-rw-r--r--memoserv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/memoserv.c b/memoserv.c
index 04bac6fee..889a0759e 100644
--- a/memoserv.c
+++ b/memoserv.c
@@ -353,7 +353,8 @@ void memo_send(User * u, char *name, char *text, int z)
s_MemoServ, m->number);
}
} else {
- if ((u = finduser(name)) && nick_identified(u))
+ if ((u = finduser(name)) && nick_identified(u)
+ && (nc->flags & NI_MEMO_RECEIVE))
notice_lang(s_MemoServ, u, MEMO_NEW_MEMO_ARRIVED,
source, s_MemoServ, m->number);
} /* if (flags & MEMO_RECEIVE) */