Skip to content
Snippets Groups Projects
Commit a64b4734 authored by mcmlxxix's avatar mcmlxxix
Browse files

fix typo

parent bab08e91
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ service = new (function() { ...@@ -52,7 +52,7 @@ service = new (function() {
for(var s=1;s<this.sockets.length;s++) { for(var s=1;s<this.sockets.length;s++) {
if(!this.sockets[s].is_connected) { if(!this.sockets[s].is_connected) {
log(LOG_INFO,"disconnected: " + this.sockets[s].remote_ip_address); log(LOG_INFO,"disconnected: " + this.sockets[s].remote_ip_address);
database.release(this.sockets[s].descriptor); maindb.release(this.sockets[s].descriptor);
this.sockets.splice(s--,1); this.sockets.splice(s--,1);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment