diff --git a/index.js b/index.js
index 6208d9b..ed3ba48 100644
--- a/index.js
+++ b/index.js
@@ -61,7 +61,7 @@ redisClient.on("pmessage", function (pattern, channel, message) {
     }
     else if (channel.match(/^echi/)) {
         var gateway = channel.match(/gw:(.*)\.message$/)[1];
-        if (gateway == config.globals.echi_gw_blacklist) {
+        if (config.globals.echi_gw_blacklist.split(',').indexOf(gateway) >= 0) {
             return;
         }
         client.say(config.globals.topup_message_channel, message + ' (' + gateway + ')');