 
     bindings: null
 
-    constructor: (@channel, @topic, @message, @callback, @onJoin, @socket) ->
+    constructor: (@channel, @topic, @message, @callback, @socket) ->
       @reset()
 
 
-    reset: ->
-      if @onJoin
-        @bindings = [{event: "join", callback: @onJoin}]
-      else
-        @bindings = []
+    reset: -> @bindings = []
 
     on: (event, callback) -> @bindings.push({event, callback})
 

      for chan in @channels when chan.isMember(channel, topic)
        chan.trigger(event, message)

  exports
    rejoin: (chan) ->
      chan.reset()
      {channel, topic, message} = chan
      chan.callback(chan)
      @send(channel: channel, topic: topic, event: "join", message: message)


    join: (channel, topic, message, callback) ->
      chan = new exports.Channel(channel, topic, message, callback, this)
      @channels.push(chan)
      @rejoin(chan) if @isConnected()

