mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Removed old motd handling
This commit is contained in:
parent
b8c1a6ca97
commit
8cc7776f09
3 changed files with 2 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue