server-interface clean

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

No files matched your search

+2 -2
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