diff --git a/socketserver/socketserver.js b/socketserver/socketserver.js index e67927f..fead46a 100644 --- a/socketserver/socketserver.js +++ b/socketserver/socketserver.js @@ -3089,7 +3089,7 @@ var SocketServer = function(server){ */ //Check for props - if (!(data.data.uid = +data.data.uid)){ + if (!(data.data.uid = +data.data.uid) || uid < 0){ returnObj.data = { error: 'WrongProps' };