diff --git a/src/irc.coffee b/src/irc.coffee index 77243d9..b75c4d7 100644 --- a/src/irc.coffee +++ b/src/irc.coffee @@ -247,7 +247,7 @@ class IrcBot extends Adapter bot.addListener 'invite', (channel, from) -> console.log('%s invite you to join %s', from, channel) - if not process.env.HUBOT_IRC_PRIVATE + if not process.env.HUBOT_IRC_PRIVATE or process.env.HUBOT_IRC_IGNOREINVITE bot.join channel @bot = bot