diff options
Diffstat (limited to 'src/lua/lua_common.c')
-rw-r--r-- | src/lua/lua_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c index ffba71754..19d0d09d0 100644 --- a/src/lua/lua_common.c +++ b/src/lua/lua_common.c @@ -294,6 +294,7 @@ rspamd_lua_set_path (lua_State *L, struct rspamd_config *cfg) if (strstr (old_path, RSPAMD_PLUGINSDIR) != NULL) { /* Path has been already set, do not touch it */ + lua_pop (L, 2); return; } |