Comparing version 1.1.15 to 1.1.16
{ | ||
"name" : "cryptalk", | ||
"version" : "1.1.15", | ||
"version" : "1.1.16", | ||
"description" : "Encrypted HTML5/Node.JS instant chat", | ||
@@ -5,0 +5,0 @@ "main" : "server.js", |
@@ -56,3 +56,3 @@ #!/usr/bin/env node | ||
var clientsList = io.sockets.adapter.rooms[socket.current_room]; | ||
socket.emit('message:server', {msg:'person_count', payload: Object.keys(clientsList).length } ); | ||
socket.emit('message:server', {msg:'person_count', payload: clientsList.length } ); | ||
} else { | ||
@@ -59,0 +59,0 @@ socket.emit('message:server', {msg:'command_failed'} ); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97069