From 7c8e5b9330a75e6421ab359662f27f125af5ade5 Mon Sep 17 00:00:00 2001 From: BroGamer <64546358+BroGamer4256@users.noreply.github.com> Date: Fri, 16 Sep 2022 10:17:04 +1200 Subject: [PATCH] Fix --- patches/amauth/dllmain.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/patches/amauth/dllmain.cpp b/patches/amauth/dllmain.cpp index 05d80c0..8abab30 100644 --- a/patches/amauth/dllmain.cpp +++ b/patches/amauth/dllmain.cpp @@ -257,13 +257,8 @@ class CAuthFactory : public IClassFactory { wchar_t *iid_str; StringFromCLSID (riid, &iid_str); printf ("CreateInstance %ls\n", iid_str); - if (riid == IID_CAuth) { - CAuth *auth = new CAuth (); - return auth->QueryInterface (riid, object); - } else { - *object = 0; - return E_NOINTERFACE; - } + CAuth *auth = new CAuth (); + return auth->QueryInterface (riid, object); } virtual HRESULT LockServer (i32 lock) {