just kidding, this is the actual fix

This commit is contained in:
RaidMax 2015-10-10 18:44:01 -05:00
parent 04899040fe
commit 920e5453da
3 changed files with 2 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -292,7 +292,7 @@ namespace SharedLibrary
//Returns a list of players matching name parameter, null if no players found matching
public List<Player> findPlayers(String name)
{
name = name.Replace("'", "''");
name = name.Replace("'", "");
String Query = String.Format("SELECT * FROM CLIENTS WHERE Name LIKE '%{0}%' LIMIT 32", name);
DataTable Result = GetDataTable(Query);
@ -486,6 +486,7 @@ namespace SharedLibrary
public List<Aliases> findPlayers(String name)
{
name = name.Replace("'", "");
String[] EyePee = name.Split('.');
String Penor = "THISISNOTANIP";
if (EyePee.Length > 1)