MINOR: hlua_fcn: fix Server.is_draining() return type

Adjusting Server.is_draining() return type from integer to boolean
to comply with the documentation.
This commit is contained in:
Aurelien DARRAGON 2023-03-29 10:46:36 +02:00 committed by Christopher Faulet
parent e7405d4124
commit 862a0fe75a

View File

@ -1068,7 +1068,7 @@ int hlua_server_is_draining(lua_State *L)
return 1;
}
lua_pushinteger(L, server_is_draining(srv));
lua_pushboolean(L, server_is_draining(srv));
return 1;
}