Move built-in commands array to native
This commit is contained in:
@@ -42,21 +42,6 @@ let serverCommands = [];
|
|||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
let builtInCommands = [
|
|
||||||
"refresh",
|
|
||||||
"restart",
|
|
||||||
"stop",
|
|
||||||
"start",
|
|
||||||
"reconnect",
|
|
||||||
"setname",
|
|
||||||
"connect",
|
|
||||||
"disconnect",
|
|
||||||
"say",
|
|
||||||
"dumpdoc",
|
|
||||||
];
|
|
||||||
|
|
||||||
// ===========================================================================
|
|
||||||
|
|
||||||
function initCommandScript() {
|
function initCommandScript() {
|
||||||
logToConsole(LOG_INFO, "[VRR.Command]: Initializing commands script ...");
|
logToConsole(LOG_INFO, "[VRR.Command]: Initializing commands script ...");
|
||||||
logToConsole(LOG_INFO, "[VRR.Command]: Initialized commands script!");
|
logToConsole(LOG_INFO, "[VRR.Command]: Initialized commands script!");
|
||||||
|
|||||||
Reference in New Issue
Block a user