mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-09 05:34:54 -05:00
Clean up.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user