Skip to content
Snippets Groups Projects
Commit f8d8b430 authored by Randy Sommerfeld's avatar Randy Sommerfeld
Browse files

Don't count unregistered clients

parent 74f9a0a8
No related branches found
No related tags found
No related merge requests found
...@@ -299,8 +299,6 @@ function Unregistered_Quit(msg) { ...@@ -299,8 +299,6 @@ function Unregistered_Quit(msg) {
this.sendq.purge(); this.sendq.purge();
if (msg && this.socket.is_connected) if (msg && this.socket.is_connected)
this.socket.send(format("ERROR :%s\r\n", msg)); this.socket.send(format("ERROR :%s\r\n", msg));
if (server.client_remove !== undefined)
server.client_remove(this.socket);
if(server.clients != undefined) if(server.clients != undefined)
log(LOG_DEBUG,format("%d clients", server.clients)); log(LOG_DEBUG,format("%d clients", server.clients));
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment