mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
MOTD / version disapear fix
This commit is contained in:
parent
5d822d3b6a
commit
10c030f306
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@ function ProcessIncomingRequest (data) {
|
||||||
})
|
})
|
||||||
|
|
||||||
try {
|
try {
|
||||||
data.version = utils.ReadFile(versionFile)
|
qdb.version = utils.ReadFile(versionFile)
|
||||||
data.motd = utils.ReadFile(motdFile)
|
qdb.motd = utils.ReadFile(motdFile)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
logger.Log('MOTD/Version writing/reading error!')
|
logger.Log('MOTD/Version writing/reading error!')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue