Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed total clients count

  • Loading branch information...
commit 0890b11ce40f4945266d311fee6871e88857f1a3 1 parent db5d0ba
@arya authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/pandemic/server_side/server.rb
View
1  lib/pandemic/server_side/server.rb
@@ -101,6 +101,7 @@ def handle_connection(connection)
debug("Recognized as client")
@clients_mutex.synchronize do
@clients << Client.new(connection, self).listen
+ @total_clients += 1
end
elsif identification =~ /^stats$/
debug("Stats request received")
Please sign in to comment.
Something went wrong with that request. Please try again.