mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-11 23:24:43 +02:00
* Don't blow up @ message network record() if no network configured for areaTag
* Remove console.log() of message persist; use proper client.log
This commit is contained in:
parent
a49b510f31
commit
98e6afa1af
2 changed files with 8 additions and 4 deletions
|
@ -357,7 +357,7 @@ function FTNMessageScanTossModule() {
|
|||
|
||||
// check paths, Addresses, etc.
|
||||
this.isAreaConfigValid = function(areaConfig) {
|
||||
if(!_.isString(areaConfig.tag) || !_.isString(areaConfig.network)) {
|
||||
if(!areaConfig || !_.isString(areaConfig.tag) || !_.isString(areaConfig.network)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue