 
     # Check for buddy requests every so often
     @client.send roster_query
-    setInterval ->
+    setInterval =>
       @client.send roster_query
     , @options.keepaliveInterval
 

      port: @options.port

    # Events
    @client.on 'online', @online
    @client.on 'stanza', @readStanza
    @client.on 'error', @error

  online: ->
    @client.send new Xmpp.Element('presence')
    
    # He is alive!
    console.log @name + ' is online, talk.google.com!'


    console.error err

exports.use = (robot) ->
  new Gtalkbot robot

