mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 15:04:52 +09:00
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:
1 parent
512b3c66a5
commit
d01914f7b2
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user