diff options
author | sjaz <sjaz@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-26 16:37:38 +0000 |
---|---|---|
committer | sjaz <sjaz@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-26 16:37:38 +0000 |
commit | a408ceee7432c66d5b9d88a25af54ef0c35f8dd1 (patch) | |
tree | 29b40f4203496872e1971e0aa483d747e923fb95 /src | |
parent | 55a564a0b486a80c32f4873baba0fe4527cb4f00 (diff) |
Backport from 1.9 to document the use of /ms set notify mail and nomail (Adam)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2289 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ms_set.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ms_set.c b/src/core/ms_set.c index cbf554002..c0f914fd3 100644 --- a/src/core/ms_set.c +++ b/src/core/ms_set.c @@ -132,7 +132,7 @@ int do_set_notify(User * u, MemoInfo * mi, char *param) u->na->nc->flags &= ~NI_MEMO_MAIL; notice_lang(s_MemoServ, u, MEMO_SET_NOTIFY_NOMAIL); } else if (stricmp(param, "OFF") == 0) { - u->na->nc->flags &= ~(NI_MEMO_SIGNON | NI_MEMO_RECEIVE); + u->na->nc->flags &= ~(NI_MEMO_SIGNON | NI_MEMO_RECEIVE | NI_MEMO_MAIL); notice_lang(s_MemoServ, u, MEMO_SET_NOTIFY_OFF, s_MemoServ); } else { syntax_error(s_MemoServ, u, "SET NOTIFY", MEMO_SET_NOTIFY_SYNTAX); |