Use win1252 character encoding for samp (1.0.48) Fixes #99

This commit is contained in:
mmorrison 2019-01-06 14:10:46 -06:00
parent 0487c7c20d
commit 8b3126e430
4 changed files with 18 additions and 4 deletions

View file

@ -130,6 +130,8 @@ class Core extends EventEmitter {
]);
}
run() {}
parseDns(host,c) {
const resolveStandard = (host,c) => {
if(this.debug) console.log("Standard DNS Lookup: " + host);

View file

@ -1,6 +1,12 @@
const async = require('async');
const async = require('async'),
Core = require('./core');
class Samp extends Core {
constructor() {
super();
this.encoding = 'win1252';
}
class Samp extends require('./core') {
run(state) {
async.series([
(c) => {