From af00c34aaccb3521b8dbf0bd8876a5b38d5d42f4 Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 28 Feb 2019 12:59:52 +0100 Subject: Do not relay any bot messages (discord) (#743) --- bridge/discord/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/discord/handlers.go') diff --git a/bridge/discord/handlers.go b/bridge/discord/handlers.go index 85a36e1d..bc8ec939 100644 --- a/bridge/discord/handlers.go +++ b/bridge/discord/handlers.go @@ -36,7 +36,7 @@ func (b *Bdiscord) messageCreate(s *discordgo.Session, m *discordgo.MessageCreat return } // if using webhooks, do not relay if it's ours - if b.useWebhook() && m.Author.Bot && b.isWebhookID(m.Author.ID) { + if b.useWebhook() && m.Author.Bot { // && b.isWebhookID(m.Author.ID) { return } -- cgit v1.2.3