Add + use text file util
This commit is contained in:
@@ -1481,4 +1481,10 @@ function shutdownServer() {
|
||||
server.shutdown();
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
function getContentsOfTextFile(filePath) {
|
||||
return loadTextFile(filePath);
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
@@ -9,16 +9,6 @@
|
||||
// ===========================================================================
|
||||
|
||||
let builtInCommands = [
|
||||
"refresh",
|
||||
"restart",
|
||||
"stop",
|
||||
"start",
|
||||
"reconnect",
|
||||
"setname",
|
||||
"connect",
|
||||
"disconnect",
|
||||
"say",
|
||||
"dumpdoc",
|
||||
];
|
||||
|
||||
// ===========================================================================
|
||||
@@ -1267,4 +1257,10 @@ function setServerPassword(password) {
|
||||
server.setPassword(password);
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
function getContentsOfTextFile(filePath) {
|
||||
return "";
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
Reference in New Issue
Block a user