Skip to content

Commit

Permalink
Fixed crash introduced in 031ebcb
Browse files Browse the repository at this point in the history
  • Loading branch information
jushar committed Sep 3, 2015
1 parent f25f0b8 commit 2c3d790
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MTA10/core/CWebCore.cpp
Expand Up @@ -330,7 +330,8 @@ void CWebCore::RequestPages ( const std::vector<SString>& pages, WebRequestCallb
{
// Call callback immediately if nothing has changed (all entries are most likely already on the whitelist)
// There is still the possibility that all websites are blacklisted; this is not the usual case tho, so ignore for now (TODO)
(*pCallback)( true, pages );
if ( pCallback )
(*pCallback)( true, pages );
}
}

Expand Down

0 comments on commit 2c3d790

Please sign in to comment.