mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2026-04-28 03:07:38 +02:00
Removed old motd handling
This commit is contained in:
@@ -30,7 +30,6 @@ var recievedFile = "stats/recieved";
|
||||
var staticFile = "public/data/static";
|
||||
var manFile = "public/man.html";
|
||||
var dataFile = "public/data.json";
|
||||
var motdFile = "public/motd";
|
||||
var versionFile = "public/currVersion";
|
||||
const qaFile = "public/qa";
|
||||
|
||||
@@ -281,9 +280,7 @@ function ProcessIncomingRequest(data) {
|
||||
data.AddQuestion(d.subj, q);
|
||||
}
|
||||
|
||||
var motd = utils.ReadFile(motdFile);
|
||||
var version = utils.ReadFile(versionFile);
|
||||
data.motd = motd;
|
||||
data.version = version;
|
||||
logger.Log("[PCES]:\t" + d.subj);
|
||||
var msg = "All / new count: " + allQuestions.length + " / " + questions.length;
|
||||
|
||||
Reference in New Issue
Block a user