summary refs log tree commit diff homepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Discord.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Discord.ts b/src/Discord.ts
index 4f177c8..2893c8b 100644
--- a/src/Discord.ts
+++ b/src/Discord.ts
@@ -76,6 +76,9 @@ class Discord {
     if (message.channel.id !== this.channel || message.channel.type !== 'text') return
     // if using webhooks, ignore this!
     if (message.webhookID) {
+      // backwards compatability with older config
+      if (this.config.USE_WEBHOOKS && this.config.IGNORE_WEBHOOKS === undefined) return
+
       // if ignoring all webhooks, ignore
       if (this.config.IGNORE_WEBHOOKS) {
         return