]> source.dussan.org Git - rspamd.git/commitdiff
Remove forgotten variables in lua stack.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 25 Feb 2015 11:52:02 +0000 (11:52 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 25 Feb 2015 11:52:02 +0000 (11:52 +0000)
src/lua/lua_common.c

index ffba71754c5da5b93cf91f81d5640e631c0da4f9..19d0d09d060d0b10e2f34ba7a54c7cce02c294f8 100644 (file)
@@ -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;
        }