summaryrefslogtreecommitdiff
path: root/proxy_lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'proxy_lua.c')
-rw-r--r--proxy_lua.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proxy_lua.c b/proxy_lua.c
index 344484e..aa0ea4e 100644
--- a/proxy_lua.c
+++ b/proxy_lua.c
@@ -617,7 +617,7 @@ static int mcplib_log_req(lua_State *L) {
logger *l = t->l;
// Not using the LOGGER_LOG macro so we can avoid as much overhead as
// possible when logging is disabled.
- if (! (l->eflags & LOG_PROXYUSER)) {
+ if (! (l->eflags & LOG_PROXYREQS)) {
return 0;
}
int rtype = 0;
@@ -677,7 +677,7 @@ static int mcplib_log_reqsample(lua_State *L) {
logger *l = t->l;
// Not using the LOGGER_LOG macro so we can avoid as much overhead as
// possible when logging is disabled.
- if (! (l->eflags & LOG_PROXYUSER)) {
+ if (! (l->eflags & LOG_PROXYREQS)) {
return 0;
}
int rtype = 0;