Merge pull request #79 from Saibamen/remove_debug_spam

Remove debug spam
This commit is contained in:
Louis Lam 2021-07-19 23:12:33 +08:00 committed by GitHub
commit 58d029445d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,6 @@ let needSetup = false;
version, version,
}) })
console.log('a user connected');
totalClient++; totalClient++;
if (needSetup) { if (needSetup) {
@ -59,7 +58,6 @@ let needSetup = false;
} }
socket.on('disconnect', () => { socket.on('disconnect', () => {
console.log('user disconnected');
totalClient--; totalClient--;
}); });