WOL fix again - this time with correct number of braces...

This commit is contained in:
Dave C-J 2014-11-19 20:52:10 +00:00
parent 661a50b123
commit c646596a5d
1 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,9 @@ module.exports = function(RED) {
node.log("sent WOL magic packet");
}
});
} catch(e) { if (RED.settings.verbose) { node.log("WOL: socket error"); }
} catch(e) {
if (RED.settings.verbose) { node.log("WOL: socket error"); }
}
}
else { node.warn('WOL: bad mac address "'+mac+'"'); }
}