aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-10-26 00:12:39 +0100
committerest31 <MTest31@outlook.com>2015-10-26 00:32:48 +0100
commit3936a5e3f71d46e61f819b8f6c85dd47a440f21e (patch)
treeceab99e29ded82d8408c10e8a90e85bd00c8a1d1
parenteba5f7cd6cfb550b28de230bd5013a771d37b196 (diff)
downloadminetest-3936a5e3f71d46e61f819b8f6c85dd47a440f21e.tar.gz
minetest-3936a5e3f71d46e61f819b8f6c85dd47a440f21e.tar.bz2
minetest-3936a5e3f71d46e61f819b8f6c85dd47a440f21e.zip
Correct comment in l_util.cpp
Remove outdated loglevel list from a l_util.cpp comment, and rather point to the updated code.
-rw-r--r--src/script/lua_api/l_util.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/script/lua_api/l_util.cpp b/src/script/lua_api/l_util.cpp
index a4f01af07..106edc01e 100644
--- a/src/script/lua_api/l_util.cpp
+++ b/src/script/lua_api/l_util.cpp
@@ -37,7 +37,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
// log([level,] text)
// Writes a line to the logger.
// The one-argument version logs to infostream.
-// The two-argument version accept a log level: error, action, info, or verbose.
+// The two-argument version accepts a log level.
+// Either the special case "deprecated" for deprecation notices, or any specified in
+// Logger::stringToLevel(name).
int ModApiUtil::l_log(lua_State *L)
{
NO_MAP_LOCK_REQUIRED;