aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_cfg_file.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-17 23:58:30 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-11-17 23:58:30 +0000
commit95ed3b732549a6f5c5a7f39dd3e815eb18d0ffb7 (patch)
tree66eeb596ddfd2e0bbb5ecf874dc438a266e26201 /src/lua/lua_cfg_file.c
parent0d6d892baec6cbafb01ca5e84df6830991929cd3 (diff)
downloadrspamd-95ed3b732549a6f5c5a7f39dd3e815eb18d0ffb7.tar.gz
rspamd-95ed3b732549a6f5c5a7f39dd3e815eb18d0ffb7.zip
Store IP addresses properly in lua.
Diffstat (limited to 'src/lua/lua_cfg_file.c')
-rw-r--r--src/lua/lua_cfg_file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lua/lua_cfg_file.c b/src/lua/lua_cfg_file.c
index 6d50153f4..47fbd14bb 100644
--- a/src/lua/lua_cfg_file.c
+++ b/src/lua/lua_cfg_file.c
@@ -195,8 +195,6 @@ lua_post_load_config (struct config_file *cfg)
gboolean
lua_handle_param (struct worker_task *task, gchar *mname, gchar *optname, enum lua_var_type expected_type, gpointer *res)
{
- lua_State *L = task->cfg->lua_state;
-
/* xxx: Adopt this for rcl */
/* Option not found */