From a69ef8402b69a596168cebf3b7c91e52ee09d062 Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 28 Jun 2018 21:19:02 +0200 Subject: [PATCH] Fix previous commit --- bridge/discord/discord.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index 5cef5f01..f1539482 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -127,7 +127,7 @@ func (b *Bdiscord) Send(msg config.Message) (string, error) { // Use webhook to send the message if wID != "" { // skip events - if msg.Event != "" && msg.Event != EVENT_JOIN_LEAVE && msg.Event != EVENT_TOPIC_CHANGE { + if msg.Event != "" && msg.Event != config.EVENT_JOIN_LEAVE && msg.Event != config.EVENT_TOPIC_CHANGE { return "", nil } b.Log.Debugf("Broadcasting using Webhook")