node-red-node-wol: remove warning

This commit is contained in:
Nathanaël Lécaudé 2016-11-12 17:44:31 -05:00
parent bfe5099c1d
commit 0e2f996579

View File

@ -16,7 +16,6 @@ module.exports = function(RED) {
if (mac != null) { if (mac != null) {
if (chk.test(mac)) { if (chk.test(mac)) {
try { try {
node.warn(mac + ' ' + host);
wol.wake(mac, {address: host}, function(error) { wol.wake(mac, {address: host}, function(error) {
if (error) { node.warn(error); } if (error) { node.warn(error); }
else if (RED.settings.verbose) { else if (RED.settings.verbose) {