From ebb76e5d9c19d30a5b8b331d4864be957c5d692a Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Mon, 4 Mar 2013 10:50:39 -0500 Subject: [PATCH] Removed channel specific setting in talker --- plugins/talker.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/talker.go b/plugins/talker.go index 8cb9648..4c03531 100644 --- a/plugins/talker.go +++ b/plugins/talker.go @@ -51,13 +51,10 @@ func (p *TalkerPlugin) Message(message bot.Message) bool { body := message.Body lowermessage := strings.ToLower(body) - if channel != p.Bot.Config.MainChannel { - return false - } - if strings.HasPrefix(lowermessage, "say") { msg := strings.TrimSpace(body[3:]) p.Bot.SendMessage(channel, msg) + return true } if strings.HasPrefix(lowermessage, "goatse") {