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