Skip to content

Commit

Permalink
Actually use the channel change handler
Browse files Browse the repository at this point in the history
  • Loading branch information
jogramming committed Jun 6, 2015
1 parent 46ce317 commit 5769229
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,10 @@ func spawnClient(user, server string) {
client := gumble.NewClient(&config)

client.Attach(gumbleutil.Listener{
TextMessage: textMessageHandler,
Connect: connectHandler,
Disconnect: dcHandler,
TextMessage: textMessageHandler,
Connect: connectHandler,
Disconnect: dcHandler,
ChannelChange: channelChangeHandler,
})

err := client.Connect()
Expand Down

0 comments on commit 5769229

Please sign in to comment.