fix B8 forwarding condition on proxy server
This commit is contained in:
@@ -967,7 +967,7 @@ static HandlerResult S_G_B8(shared_ptr<ServerState>,
|
|||||||
// so the file sill be sent again if the client returns to newserv.
|
// so the file sill be sent again if the client returns to newserv.
|
||||||
session.newserv_client_config.cfg.flags &= ~Client::Flag::HAS_EP3_CARD_DEFS;
|
session.newserv_client_config.cfg.flags &= ~Client::Flag::HAS_EP3_CARD_DEFS;
|
||||||
|
|
||||||
return !(session.newserv_client_config.cfg.flags & Client::Flag::IS_EPISODE_3)
|
return (session.newserv_client_config.cfg.flags & Client::Flag::IS_EPISODE_3)
|
||||||
? HandlerResult::Type::FORWARD
|
? HandlerResult::Type::FORWARD
|
||||||
: HandlerResult::Type::SUPPRESS;
|
: HandlerResult::Type::SUPPRESS;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user