plugins.js 205 B

1234567
  1. var files = fs.readdirSync('./www/data/plugins/');
  2. log('(function($o){');
  3. for(var i in files){
  4. log('$o.register.plugin("'+files[i]+'");');
  5. log('$o.plugin.start("'+files[i]+'");');
  6. }
  7. log('})(OmnomIRC);');