         ctx.close()
       )
 
-      today = robot.brain.get 'today'
+      today = robot.brain.get('today')
 
       today = { players: {}, maps: {} } unless today?
 
       for player in players
-        if today.players.hasOwnProperty player
+        if today.players.hasOwnProperty(player)
           today.players[player]++
         else
           today.players[player] = 1
 
-      if today.maps.hasOwnProperty lobby.map
+      if today.maps.hasOwnProperty(lobby.map)
         today.maps[lobby.map]++
       else
         today.maps[lobby.map] = 1
 
-      robot.brain.set 'today', today
-
-      robot.brain.set 'lobby', null
-      robot.brain.set 'previous', lobby
-      msg.send "be a darling and click the link: steam://connect/#{server.host}:#{server.port}/#{server.password}"
-      msg.send "no guarantee can be made that your place will still be available if you're late."
-      return msg.send "also, if you're late often, a suitable punishment will be awarded."
+      robot.brain.set('today', today)
+
+      robot.brain.set('lobby', null)
+      robot.brain.set('previous', lobby)
+      msg.send("be a darling and click the link: steam://connect/#{server.host}:#{server.port}/#{server.password}")
+      msg.send("no guarantee can be made that your place will still be available if you're late.")
+      return msg.send("also, if you're late often, a suitable punishment will be awarded.")
 
     lobby.finalising = false
-    robot.brain.set 'lobby', lobby
-    return msg.send "#{msg.random(responses.mistake)}  it looks like we didn't find enough players in time. but never fear! tfbot is here to comfort you while you cry yourself to sleep."
+    robot.brain.set('lobby', lobby)
+    return msg.send("#{msg.random(responses.mistake)}  it looks like we didn't find enough players in time. but never fear! tfbot is here to comfort you while you cry yourself to sleep.")
 
 exports.onLeave = (robot, msg) ->
-  lobby = robot.brain.get 'lobby'
+  lobby = robot.brain.get('lobby')
   return unless lobby?
 
   user = msg.message.user.id


exports.filterMaps = (desired, mapList) ->

  mapList.filter (map) -> map.indexOf(desired) isnt -1

exports.newLobby = (map, principal, server) ->
  {

  if robot.auth.hasRole(msg.envelope.user, 'rcon')

    if server?.rcon
      return new Rcon(server, (ctx) ->
        ctx.exec("sm_say #{msg.match[2]}", (res) ->
          ctx.close()
          msg.reply("#{msg.random(responses.affirmative)} your message was delivered...")
        )
      )

    return msg.reply("#{msg.random(responses.mistake)} that's not a valid server...")

  return msg.reply("#{msg.random(responses.mistake)} you can't to do that...")

exports.rconRoster = (robot, msg) ->
  user = msg.message.user.id

  if robot.auth.hasRole(msg.envelope.user, 'rcon')

    previous = robot.brain.get('previous')
    server = servers[previous.server]

    if previous? and server?.rcon
      return new Rcon(server, (ctx) ->
        ctx.exec("sm_say [ #tfbot ] #{Object.keys(previous.participants).join(', ')}", (res) ->
          ctx.close()
          msg.reply("#{msg.random(responses.affirmative)} player roster was delivered...")
        )
      )

    return msg.reply("#{msg.random(responses.mistake)} there's no previous game data. creepy...")

  return msg.reply("#{msg.random(responses.mistake)} you can't to do that...")

exports.rconMap = (robot, msg) ->
  user = msg.message.user.id
