commit fdf64edbdabb4fe0b6963baaa26cd61d1c4b6a4f
Author: Wim <wim@42.be>
Date: Wed May 01 18:10:31 2019 +0000
diff --git a/bridge/discord/handlers.go b/bridge/discord/handlers.go
index bc8ec93..85a36e1 100644
--- a/bridge/discord/handlers.go
+++ b/bridge/discord/handlers.go
@@ -367 +367 @@ 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
}