lib/server/server.js
function(isGlobal, server, msg, session, cb) {
  var fm;
  if(isGlobal) {
    fm = server.globalFilterService;
  } else {
    fm = server.filterService;
  }
  if(fm) {
    fm.beforeFilter(msg, session, cb);
  } else {
    utils.invokeCallback(cb);
  }
}
function(isGlobal, server, msg, session, cb) {
  var fm;
  if(isGlobal) {
    fm = server.globalFilterService;
  } else {
    fm = server.filterService;
  }
  if(fm) {
    fm.beforeFilter(msg, session, cb);
  } else {
    utils.invokeCallback(cb);
  }
}
function ( isGlobal , server , msg , session , cb ) { var fm ; if ( isGlobal ) { fm = server . globalFilterService ; } else { fm = server . filterService ; } if ( fm ) { fm . beforeFilter ( msg , session , cb ) ; } else { utils . invokeCallback ( cb ) ; } }
Fire before filter chain if any
Fire before filter chain if any