diff --git a/include/stratosphere/mitm/mitm_session.hpp b/include/stratosphere/mitm/mitm_session.hpp index e4d069f6..d9bfe18f 100644 --- a/include/stratosphere/mitm/mitm_session.hpp +++ b/include/stratosphere/mitm/mitm_session.hpp @@ -124,7 +124,7 @@ class MitmSession final : public ServiceSession { case DomainMessageType_Close: { auto sub_obj = ctx->obj_holder->GetServiceObject()->GetObject(ctx->request.InThisObjectId); - if (sub_obj == nullptr || (!sub_obj)) { + if (sub_obj == nullptr) { rc = ForwardRequest(ctx); return rc; }