summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrystan 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
committertrystan 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
commit8188843d093ee950eb57ae3b9a2b41e799337a7e (patch)
tree8dd6f4f85faf60ba695c38928d2214559350d1b5
parent6f72ea027805f48ebb6470254ef5ccbc67dcd0fc (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
-rw-r--r--src/memoserv.c7
-rw-r--r--version.log6
2 files changed, 12 insertions, 1 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);
}
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