From 3403d45676d13ca211967f7a811c5b95855b08d8 Mon Sep 17 00:00:00 2001 From: scatterflower Date: Mon, 26 Apr 2021 02:19:19 -0500 Subject: [PATCH] add auth skip --- src/aoclient.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/aoclient.cpp b/src/aoclient.cpp index 1fc9c92..39fc6cd 100644 --- a/src/aoclient.cpp +++ b/src/aoclient.cpp @@ -311,6 +311,9 @@ void AOClient::sendServerBroadcast(QString message) bool AOClient::checkAuth(unsigned long long acl_mask) { +#ifdef SKIP_AUTH + return true; +#endif if (acl_mask != ACLFlags.value("NONE")) { if (acl_mask == ACLFlags.value("CM")) { AreaData* area = server->areas[current_area];