diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-26 18:24:26 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-26 18:24:26 +0400 |
commit | 0e88083420796af997f1af0396e4ea78ac235ba5 (patch) | |
tree | f46619cd9e156a69f2e82d5b8f5487bd92832076 /src/lua/lua_common.c | |
parent | be47db1dd7a15f4c0f43b3230e245fdd525f840b (diff) | |
download | rspamd-0e88083420796af997f1af0396e4ea78ac235ba5.tar.gz rspamd-0e88083420796af997f1af0396e4ea78ac235ba5.zip |
* Turn off debug_ip during reload if it was disabled by new config
Diffstat (limited to 'src/lua/lua_common.c')
-rw-r--r-- | src/lua/lua_common.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lua/lua_common.c b/src/lua/lua_common.c index 36ef2a422..3bf81da55 100644 --- a/src/lua/lua_common.c +++ b/src/lua/lua_common.c @@ -209,7 +209,6 @@ void init_lua_filters (struct config_file *cfg) { struct config_file **pcfg; - gpointer *plogger; GList *cur, *tmp; struct script_module *module; struct statfile *st; @@ -230,11 +229,6 @@ init_lua_filters (struct config_file *cfg) lua_setclass (L, "rspamd{config}", -1); *pcfg = cfg; lua_setglobal (L, "rspamd_config"); - /* Initialize logger */ - plogger = lua_newuserdata (L, sizeof (gpointer)); - lua_setclass (L, "rspamd{logger}", -1); - *plogger = NULL; - lua_setglobal (L, "rspamd_log"); /* do the call (1 arguments, 1 result) */ if (lua_pcall (L, 0, LUA_MULTRET, 0) != 0) { |