1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Clean up.

This commit is contained in:
Ylian Saint-Hilaire 2020-04-22 22:15:51 -07:00
parent f484c6742c
commit 6633870cc9
4 changed files with 9 additions and 5 deletions

View file

@ -1327,10 +1327,7 @@ function CreateMeshCentralServer(config, args) {
// Setup SMS gateway
if (config.sms != null) {
obj.smsserver = require('./meshsms.js').CreateMeshSMS(obj);
if (obj.smsserver != null) {
//obj.smsserver.verify();
if (obj.args.lanonly == true) { addServerWarning("SMS gateway has limited use in LAN mode."); }
}
if ((obj.smsserver != null) && (obj.args.lanonly == true)) { addServerWarning("SMS gateway has limited use in LAN mode."); }
}
// Start periodic maintenance