aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/lua_task.c2
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);