diff options
author | antirez <antirez@gmail.com> | 2020-04-07 14:10:43 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2020-04-07 14:10:43 +0200 |
commit | a6350f717d0231959492134c0ea411bd94a64bae (patch) | |
tree | 10ecb51a9c4da2706ba1764aa6e8ad69ff075edd | |
parent | f69876280c630d49574fa094808d3a4791c5039b (diff) | |
parent | e93dcba46e7b2229f3f507e01289ff98164d24b4 (diff) | |
download | redis-a6350f717d0231959492134c0ea411bd94a64bae.tar.gz |
Merge branch 'unstable' of github.com:/antirez/redis into unstable
-rw-r--r-- | src/scripting.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scripting.c b/src/scripting.c index 32a511e13..bccbcf637 100644 --- a/src/scripting.c +++ b/src/scripting.c @@ -959,6 +959,7 @@ int luaLogCommand(lua_State *lua) { lua_pushstring(lua, "Invalid debug level."); return lua_error(lua); } + if (level < server.verbosity) return 0; /* Glue together all the arguments */ log = sdsempty(); |