mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-06-18 14:51:03 +00:00
Fixed bug on adding new host
This commit is contained in:
+1
-1
@@ -322,7 +322,7 @@ function addHost() {
|
|||||||
|
|
||||||
pairTo(_nvhttpHost, function () {
|
pairTo(_nvhttpHost, function () {
|
||||||
// Check if we already have record of this host
|
// Check if we already have record of this host
|
||||||
if (hosts[_nvhttpHost.serverUid] !== null) {
|
if (hosts[_nvhttpHost.serverUid] !== undefined) {
|
||||||
// Just update the addresses
|
// Just update the addresses
|
||||||
hosts[_nvhttpHost.serverUid].address = _nvhttpHost.address;
|
hosts[_nvhttpHost.serverUid].address = _nvhttpHost.address;
|
||||||
hosts[_nvhttpHost.serverUid].userEnteredAddress = _nvhttpHost.userEnteredAddress;
|
hosts[_nvhttpHost.serverUid].userEnteredAddress = _nvhttpHost.userEnteredAddress;
|
||||||
|
|||||||
Reference in New Issue
Block a user