old_contents: var config = require('../config');
  var socketEmitter = require('./createSocketEmitter')();
  
  
  function sendActivity(data){
    //TODO throttle
    if(config.broadcastActivity && data && data.ipAddress){
      console.log("SENDING ACTIVITY DATA", data);
      socketEmitter({uuid: config.uuid + '_bc'}, 'message', data);
    }
  }
  
  module.exports = sendActivity;
  
new_contents: var config = require('../config');
  var socketEmitter = require('./createSocketEmitter')();
  
  
  function sendActivity(data){
    //TODO throttle
    if(config.broadcastActivity && data && data.ipAddress){
      console.log("SENDING ACTIVITY DATA", data);
      socketEmitter(config.uuid + '_bc', 'message', data);
    }
  }
  
  module.exports = sendActivity;
  
subject: fix activity broadcast