From 8188843d093ee950eb57ae3b9a2b41e799337a7e Mon Sep 17 00:00:00 2001 From: "trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Wed, 5 Jan 2005 14:47:44 +0000 Subject: 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 --- src/memoserv.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') 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); } -- cgit