Create a gist now

Instantly share code, notes, and snippets.

@heinrich5991 /fix.patch Secret
Created Nov 2, 2015

diff --git a/src/engine/server/register.cpp b/src/engine/server/register.cpp
index 0b7eb94..b287068 100644
--- a/src/engine/server/register.cpp
+++ b/src/engine/server/register.cpp
@@ -275,7 +275,7 @@ int CRegister::RegisterProcessPacket(CNetChunk *pPacket)
char aBuf[256];
str_format(aBuf, sizeof(aBuf), "ERROR: configure your firewall/nat to let through udp on port %d.", g_Config.m_SvPort);
m_pConsole->Print(IConsole::OUTPUT_LEVEL_STANDARD, "register", aBuf);
- RegisterNewState(REGISTERSTATE_ERROR);
+ //RegisterNewState(REGISTERSTATE_ERROR);
return 1;
}
else if(pPacket->m_DataSize == sizeof(SERVERBROWSE_COUNT)+2 &&
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment