Skip to content
Snippets Groups Projects
Commit 20447c87 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Protect against line 335: TypeError: cnf.guru[obj.guru] is undefined

As reported in #synchronet by Android8675
parent 98a651ea
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -332,7 +332,8 @@ for(var i in cnf.chan) {
delete obj.code;
obj.actions = cnf.actset[obj.actset].name;
delete obj.actset;
obj.guru = cnf.guru[obj.guru].code;
if(cnf.guru[obj.guru])
obj.guru = cnf.guru[obj.guru].code;
ini.iniSetObject(key, obj);
}
for(var i in cnf.chatact) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment