Skip to content

Instantly share code, notes, and snippets.

@pelya
Created January 21, 2014 03:32
Show Gist options
  • Select an option

  • Save pelya/8534051 to your computer and use it in GitHub Desktop.

Select an option

Save pelya/8534051 to your computer and use it in GitHub Desktop.
diff --git a/code/server/sv_main.c b/code/server/sv_main.c
index 828aa47..b75719d 100644
--- a/code/server/sv_main.c
+++ b/code/server/sv_main.c
@@ -307,9 +307,11 @@ void SV_MasterHeartbeat(const char *message)
{
// if the address failed to resolve, clear it
// so we don't take repeated dns hits
+ // However if there was a temporary network outage,
+ // the server will go offline permanently, so this logic is disabled.
Com_Printf("Couldn't resolve address: %s\n", sv_master[i]->string);
- Cvar_Set(sv_master[i]->name, "");
- sv_master[i]->modified = qfalse;
+ //Cvar_Set(sv_master[i]->name, "");
+ //sv_master[i]->modified = qfalse;
continue;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment