From 5c501ccf530e1fdb1b12a7e2c4c2fd689f5078db Mon Sep 17 00:00:00 2001 From: Stefan Schult Date: Fri, 17 Jul 2015 06:49:43 +0200 Subject: [PATCH] fixed save panicUrl --- master/lib/server.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/master/lib/server.js b/master/lib/server.js index 29d9aa5..412fb79 100644 --- a/master/lib/server.js +++ b/master/lib/server.js @@ -130,14 +130,9 @@ module.exports = { changePanicUrl: function (url, which, cb) { try { var client = this.getClient(which, true); - client.url = url; + client.panicUrl = url; + cb(null, client); - if (client.up) { - protocol.requestSetPanicUrl(url, client.socket, cb); - } - else { - cb(null, client); - } } catch (e) { cb(e); }