diff options
author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-01-05 14:47:44 +0000 |
---|---|---|
committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-01-05 14:47:44 +0000 |
commit | 8188843d093ee950eb57ae3b9a2b41e799337a7e (patch) | |
tree | 8dd6f4f85faf60ba695c38928d2214559350d1b5 /src | |
parent | 6f72ea027805f48ebb6470254ef5ccbc67dcd0fc (diff) |
BUILD : 1.7.6 (522) BUGS : 254 NOTES : Memo INFO should finallly be fixed
git-svn-id: svn://svn.anope.org/anope/trunk@522 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@376 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r-- | src/memoserv.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/memoserv.c b/src/memoserv.c index 5ee83cf0b..3014eaa84 100644 --- a/src/memoserv.c +++ b/src/memoserv.c @@ -1217,6 +1217,13 @@ static int do_info(User * u) else notice_lang(s_MemoServ, u, MEMO_INFO_X_LIMIT, name, mi->memomax); + } else if (mi->memomax > 0) { + if (hardmax) + notice_lang(s_MemoServ, u, MEMO_INFO_X_HARD_LIMIT, name, + mi->memomax); + else + notice_lang(s_MemoServ, u, MEMO_INFO_X_LIMIT, name, + mi->memomax); } else { notice_lang(s_MemoServ, u, MEMO_INFO_X_NO_LIMIT, name); } |