       console.log('Got private message from %s: %s', nick, message)
 
       if process.env.HUBOT_IRC_PRIVATE
+        return
+
+      if nick in ignoreUsers
+        # we'll ignore this message if it's from someone we want to ignore
         return
 
       nameLength = options.nick.length

        # this is a private message, let the 'pm' listener handle it
        return

      console.log "From #{from} to #{to}: #{message}"

      user = self.createUser to, from


    bot.addListener 'action', (from, to, message) ->
      console.log " * From #{from} to #{to}: #{message}"

      if from in ignoreUsers
        # we'll ignore this message if it's from someone we want to ignore
        return

      user = self.createUser to, from
      if user.room
        console.log "#{to} * #{from} #{message}"
