Commit 20447c87 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Protect against line 335: TypeError:[] is undefined

As reported in #synchronet by Android8675
parent 98a651ea
......@@ -332,7 +332,8 @@ for(var i in cnf.chan) {
delete obj.code;
obj.actions = cnf.actset[obj.actset].name;
delete obj.actset; =[].code;
if([]) =[].code;
ini.iniSetObject(key, obj);
for(var i in cnf.chatact) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment