diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-04-02 12:13:45 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-04-02 12:13:45 +0100 |
commit | 4f76fe912e3980ffc7684fff3818490649401188 (patch) | |
tree | 11473527d31bf5afab6df243fbc4e62e58a8039c /src/lua | |
parent | 6f740ef11e6ef911f7fe0b878e7cde841ee9ff1d (diff) | |
download | rspamd-4f76fe912e3980ffc7684fff3818490649401188.tar.gz rspamd-4f76fe912e3980ffc7684fff3818490649401188.zip |
[Minor] Do not pass hostname as IP to Lua
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index b7f636c37..9819c4eac 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -2926,7 +2926,7 @@ lua_task_get_hostname (lua_State *L) * message sender's IP address enclosed in square * brackets (e.g. `[a.b.c.d]') */ - lua_pushstring (L, "unknown"); + lua_pushnil (L); } else { lua_pushstring (L, task->hostname); |