From 91841836c9b7768601bcb0ac43c892b41a6a11e1 Mon Sep 17 00:00:00 2001 From: Master-Guy <566429+Master-Guy@users.noreply.github.com> Date: Sat, 19 Mar 2022 17:35:55 +0100 Subject: [PATCH] One more IP reference --- src/NetscriptFunctions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NetscriptFunctions.ts b/src/NetscriptFunctions.ts index ca35bf3fd..aaff8e443 100644 --- a/src/NetscriptFunctions.ts +++ b/src/NetscriptFunctions.ts @@ -144,7 +144,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS { const safeGetServer = function (hostname: string, callingFnName: string): BaseServer { const server = GetServer(hostname); if (server == null) { - throw makeRuntimeErrorMsg(callingFnName, `Invalid hostname or IP: ${hostname}`); + throw makeRuntimeErrorMsg(callingFnName, `Invalid hostname: ${hostname}`); } return server; };