commit 7b35800e287c3a83ad14ec5c964fd8f077fdd53b
Author: Wim <wim@42.be>
Date: Thu Jun 28 21:19:02 2018 +0000
diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go
index 5cef5f0..f153948 100644
--- a/bridge/discord/discord.go
+++ b/bridge/discord/discord.go
@@ -1277 +1277 @@ 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")