 
 
   vote: (val, callback) ->
-    val      = arguments[0] or 'up'
-    callback = arguments[1] or null
+    val      = arguments[0] ? 'up'
+    callback = arguments[1] ? null
     vh       = crypto.createHash("sha1")
                      .update(@roomId + val + @currentSongId)
                      .digest('hex')



  modifyLaptop: (laptop, callback) ->
    laptop = laptop or 'linux'
    rq = api: 'user.modify', laptop: laptop
    @_send rq, callback


  _send: (rq, callback) ->
    rq.msgid    = @_msgId
    rq.clientid = @clientId
    rq.userid  ?= @userId
    rq.userauth = @auth

    msg = JSON.stringify(rq)
