summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_common.c')
-rw-r--r--src/lua/lua_common.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c
index 3dc02991b..b9eabe790 100644
--- a/src/lua/lua_common.c
+++ b/src/lua/lua_common.c
@@ -14,7 +14,6 @@
* limitations under the License.
*/
#include "lua_common.h"
-#include "lua/global_functions.lua.h"
#include "lptree.h"
#include "utlist.h"
#include <math.h>
@@ -302,11 +301,6 @@ rspamd_lua_init ()
rspamd_lua_new_class (L, "rspamd{worker}", worker_reg);
rspamd_lua_add_preload (L, "ucl", luaopen_ucl);
- if (luaL_dostring (L, rspamadm_script_global_functions) != 0) {
- msg_err ("cannot execute lua global script: %s",
- lua_tostring (L, -1));
- }
-
/* Add plugins global */
lua_newtable (L);
lua_setglobal (L, "rspamd_plugins");