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: [PATCH] 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 +++++++ version.log | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) 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); } diff --git a/version.log b/version.log index e3ceff6c7..31ba62a15 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="6" -VERSION_BUILD="521" +VERSION_BUILD="522" # $Log$ # +# BUILD : 1.7.6 (522) +# BUGS : 254 +# NOTES : Memo INFO should finallly be fixed +# # BUILD : 1.7.6 (521) # BUGS : 254, 266 # NOTES : Fixed up some alog() messages, and MemoServ INFO showing -1 for no hard limit