summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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