BUGFIX: unknown symbol near "/"

2017-08-21 11:00:57 Cannot execute command. Error: [string "local a='{"players":{'local b=false;for c,d i..."]:2: unexpected symbol near '/' kept appearing in chat, lagging the server and occasionally causing dropouts. I believe this was magically fixed
This commit is contained in:
Danielv123 committed 2017-08-21 11:16:22 +02:00
1 parent 512b3c66a5
commit d01914f7b2
1 file changed
+1 -1
+1 -1
View File
@@ -63,7 +63,7 @@ function messageInterface(command, callback) {
}
} else if(typeof command == "string" && client && client.exec && typeof client.exec == "function") {
try {
client.exec(command, callback);
client.exec(command+"\n", callback);
} catch (err) {
console.log(err);
}