Nathaniel van Diepen 11 lat temu
rodzic
commit
d302b36017
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      app/OmnomIRC.js

+ 1 - 0
app/OmnomIRC.js

@@ -25,6 +25,7 @@ var fs = require('fs'),
 		}
 		return defaults;
 	})();
+if(typeof fs.existsSync == 'undefined') fs.existsSync = path.existsSync; // legacy support
 if(cluster.isMaster){
 	for(var i=0;i<require('os').cpus().length;i++){
 		cluster.fork();