Fix freeze when trying to host with a join password already set

This commit is contained in:
fickleheart 2019-03-06 23:32:47 -06:00
parent 0ed74b3066
commit ddf2db8a36
1 changed files with 1 additions and 1 deletions

View File

@ -3733,7 +3733,7 @@ static void HandleConnect(SINT8 node)
boolean newnode = false;
#endif
if (D_IsJoinPasswordOn())
if (node != servernode && D_IsJoinPasswordOn())
{
// Ensure node sent the correct password challenge
boolean passed = false;