1
This commit is contained in:
parent
7e4c875ee6
commit
9ef92b332b
@ -24,7 +24,7 @@ class CircuitController extends BaseAuthedController {
|
||||
$this->_rspErr(1, 'server error1');
|
||||
die;
|
||||
}
|
||||
if (!(count(CIRCUIT_MATCH_SERVER_LIST) <= 0 && in_array(myself()->_getZid(), CIRCUIT_MATCH_SERVER_LIST))) {
|
||||
if (!(count(CIRCUIT_MATCH_SERVER_LIST) <= 0 || in_array(myself()->_getZid(), CIRCUIT_MATCH_SERVER_LIST))) {
|
||||
$this->_rspErr(1, 'server error2');
|
||||
die;
|
||||
}
|
||||
|
@ -389,7 +389,7 @@ class OtherController extends BaseAuthedController {
|
||||
if ($isOpen) {
|
||||
if ($modeMeta['mapMode'] == \mt\MapMode::CIRCUIT_MODE){
|
||||
if (myself()->_switchIsOpen('circuitMatch')) {
|
||||
if (count(CIRCUIT_MATCH_SERVER_LIST) <= 0 &&
|
||||
if (count(CIRCUIT_MATCH_SERVER_LIST) <= 0 ||
|
||||
in_array(myself()->_getZid(), CIRCUIT_MATCH_SERVER_LIST)) {
|
||||
array_unshift($modeList,$temp);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user