diff options
-rw-r--r-- | bridge/discord/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/discord/handlers.go b/bridge/discord/handlers.go index bc8ec939..85a36e1d 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 } |