diff options
author | Wim <wim@42.be> | 2018-06-28 21:19:02 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2018-06-28 21:19:02 +0200 |
commit | a69ef8402b69a596168cebf3b7c91e52ee09d062 (patch) | |
tree | efcceb132ec4ee5eb6c90aae81d5bfee4958e353 /bridge/discord | |
parent | 8779f67d2de3cddfd1cfec9a39f3c8496b3e0428 (diff) | |
download | matterbridge-msglm-a69ef8402b69a596168cebf3b7c91e52ee09d062.tar.gz matterbridge-msglm-a69ef8402b69a596168cebf3b7c91e52ee09d062.tar.bz2 matterbridge-msglm-a69ef8402b69a596168cebf3b7c91e52ee09d062.zip |
Fix previous commit
Diffstat (limited to 'bridge/discord')
-rw-r--r-- | bridge/discord/discord.go | 2 |
1 files changed, 1 insertions, 1 deletions
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") |