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

Don't count unregistered clients

parent e147cced
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -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