One more IP reference

This commit is contained in:
Master-Guy 2022-03-19 17:35:55 +01:00
parent bfa30dcdbb
commit 91841836c9
No known key found for this signature in database
GPG Key ID: 7B26A42F262DBDB4

@ -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;
};