add auth skip
This commit is contained in:
parent
51ea6d996d
commit
3403d45676
@ -311,6 +311,9 @@ void AOClient::sendServerBroadcast(QString message)
|
|||||||
|
|
||||||
bool AOClient::checkAuth(unsigned long long acl_mask)
|
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("NONE")) {
|
||||||
if (acl_mask == ACLFlags.value("CM")) {
|
if (acl_mask == ACLFlags.value("CM")) {
|
||||||
AreaData* area = server->areas[current_area];
|
AreaData* area = server->areas[current_area];
|
||||||
|
Loading…
Reference in New Issue
Block a user