Permalink
Browse files

fixed total clients count

  • Loading branch information...
1 parent db5d0ba commit 0890b11ce40f4945266d311fee6871e88857f1a3 @arya committed Jul 13, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 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")

0 comments on commit 0890b11

Please sign in to comment.