Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Commit

Permalink
Add additional check for existence of the 'System2_URLEncode' native
Browse files Browse the repository at this point in the history
  • Loading branch information
Impact123 committed Nov 17, 2018
1 parent 412aa35 commit 4ebdf96
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gameserver/calladmin_steam.sp
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,10 @@ void ParseGroupIDList()
}


if (!LibraryExists("system2"))
// System2_URLEncode was added in v3.0
if (!LibraryExists("system2") || GetFeatureStatus(FeatureType_Native, "System2_URLEncode") != FeatureStatus_Available)
{
CallAdmin_LogMessage("Group fetching requires the system2 extension. Install it or remove/comment out your group names from the config file to hide this message");
CallAdmin_LogMessage("Group fetching requires a recent version of the system2 extension. Install it or remove/comment out your group names from the config file to hide this message");

break;
}
Expand Down

0 comments on commit 4ebdf96

Please sign in to comment.