summaryrefslogtreecommitdiffstats
path: root/bridge/discord/handlers.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/discord/handlers.go')
-rw-r--r--bridge/discord/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/discord/handlers.go b/bridge/discord/handlers.go
index c209da18..370b8912 100644
--- a/bridge/discord/handlers.go
+++ b/bridge/discord/handlers.go
@@ -69,7 +69,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 m.Author.Bot && b.transmitter.HasWebhook(m.Author.ID) {
return
}