server-interface clean

This commit is contained in:
Cooldude2606
2017-10-15 00:07:26 +01:00
parent 73e442bc4b
commit 6dbdec5c8f
3 changed files with 18 additions and 20 deletions

View File

@@ -44,8 +44,8 @@ function table.val_to_str ( v )
return '"' .. string.gsub(v,'"', '\\"' ) .. '"'
else
return "table" == type( v ) and table.tostring( v ) or
"function" == type( v ) and '"cant_display_function"' or
"userdata" == type( v ) and '"cant_display_userdata"' or
"function" == type( v ) and '"cant-display-function"' or
"userdata" == type( v ) and '"cant-display-userdata"' or
tostring( v )
end
end