Fix typo causing nullnexus to always connect even when disabled

This commit is contained in:
incontestableness 2020-08-08 10:50:54 -05:00
parent 9c2c096a1c
commit d1c0ffcf7d

View File

@ -210,7 +210,7 @@ static InitRoutine init([]() {
nexus.setHandlerChat(handlers::message);
nexus.setHandlerAuthedplayers(handlers::authedplayers);
if (*connect)
if (*enabled)
{
if (*proxyenabled)
nexus.connectunix(*proxysocket, *endpoint, true);