diff --git a/Admin/plugins/SimpleStatsPlugin.dll b/Admin/plugins/SimpleStatsPlugin.dll index b37634519..6ee8ab6cc 100644 Binary files a/Admin/plugins/SimpleStatsPlugin.dll and b/Admin/plugins/SimpleStatsPlugin.dll differ diff --git a/Admin/plugins/WebfrontPlugin.dll b/Admin/plugins/WebfrontPlugin.dll index 8b9a4ec5f..9eaa21e43 100644 Binary files a/Admin/plugins/WebfrontPlugin.dll and b/Admin/plugins/WebfrontPlugin.dll differ diff --git a/SharedLibrary/Database.cs b/SharedLibrary/Database.cs index 16781a42f..ace0be352 100644 --- a/SharedLibrary/Database.cs +++ b/SharedLibrary/Database.cs @@ -292,7 +292,7 @@ namespace SharedLibrary //Returns a list of players matching name parameter, null if no players found matching public List 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 findPlayers(String name) { + name = name.Replace("'", ""); String[] EyePee = name.Split('.'); String Penor = "THISISNOTANIP"; if (EyePee.Length > 1)