diff options
Diffstat (limited to 'src/lua/lua_task.c')
-rw-r--r-- | src/lua/lua_task.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index 60dfb7cf7..e74d7e71c 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -1503,7 +1503,7 @@ lua_task_get_from_ip (lua_State *L) struct rspamd_task *task = lua_check_task (L, 1); if (task) { - rspamd_lua_ip_push (L, &task->from_addr); + rspamd_lua_ip_push (L, task->from_addr); } else { lua_pushnil (L); @@ -1533,7 +1533,7 @@ lua_task_get_client_ip (lua_State *L) struct rspamd_task *task = lua_check_task (L, 1); if (task) { - rspamd_lua_ip_push (L, &task->client_addr); + rspamd_lua_ip_push (L, task->client_addr); } else { lua_pushnil (L); |