File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,12 @@ void Fix::EarlyInitialize()
161161 // would probably fail since it has not yet been self-unpacked
162162 // The actual initialization is done the first time GetProcAddress gets called
163163
164+ if (!m_config.Load ())
165+ {
166+ assert (false && " Invalid configuration" );
167+ return ;
168+ }
169+
164170 urmem::address_t realGetProcAddress = urmem::get_func_addr (::GetProcAddress);
165171 urmem::address_t hookGetProcAddress = urmem::get_func_addr (Fix::GetProcAddress);
166172
@@ -174,12 +180,6 @@ bool Fix::Initialize()
174180 return true ;
175181 }
176182
177- if (!m_config.Load ())
178- {
179- assert (false && " Invalid configuration" );
180- return false ;
181- }
182-
183183 if (!m_browser.ScanSignatures ())
184184 {
185185 // We're injected into a random process or in an unsupported SA-MP server browser version
You can’t perform that action at this time.
0 commit comments