From 57692295f683a7ba9c9bd9e77088118959df7673 Mon Sep 17 00:00:00 2001 From: jonas747 Date: Sun, 7 Jun 2015 00:25:22 +0200 Subject: [PATCH] Actually use the channel change handler --- main.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index b93b874..609154d 100644 --- a/main.go +++ b/main.go @@ -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()