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") {