     installedMods: []
     status: 0
   new Fiber(->
+    clientObj.ip = ws.upgradeReq.connection.remoteAddress
     ourID = clients.insert clientObj
     clientObj._id = ourID
     clientSockets[ourID] = ws
+    log.debug "[Client] Connected, #{clientObj.ip}"
   ).run()
-  log.debug "[Client] Connected, #{ws.upgradeReq.connection.remoteAddress}"
   ws.on 'message', (msg)->
     new Fiber(->
       splitMsg = msg.split ':'

  sock = clientSockets[client._id]
  return if !sock?
  sock.send "close"
  console.log "told client "+client._id+" to shutdown"
@uninstallClient = (userId)->
  user = Meteor.users.findOne({_id: userId})
  client = clients.findOne({steamIDs: user.services.steam.id})

  sock = clientSockets[client._id]
  return if !sock?
  sock.send "uninstall"
  log.info "[Client] #{client._id} told to uninstall"

Meteor.startup ->
  clients.remove({})
