summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2019-02-23 01:45:15 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2019-02-23 01:45:15 +0100
commitbbbef80214337552c252b86c8f07e142d7f8190b (patch)
tree652e105a2e982ce0125b1d5b3c393f2e9aa82521
parent7cd9980685826ec5149c6eca101854441196eb39 (diff)
Lua: Fix warninglua/filter
-rw-r--r--lua/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/filter.c b/lua/filter.c
index 53efc6b9..a5c8cbbb 100644
--- a/lua/filter.c
+++ b/lua/filter.c
@@ -160,7 +160,7 @@ uint lua_eval(struct f_inst *inst)
lua_State *L = luaB_getstate();
int dores = luaL_dostring(L, string.val.s);
- warn("lua_eval dores '%s' %d", string.val.s, dores);
+ log(L_WARN "lua_eval dores '%s' %d", string.val.s, dores);
switch (dores) {
case LUA_ERRMEM:
luaB_close(L);