diff --git a/Admin/plugins/SimpleStatsPlugin.dll b/Admin/plugins/SimpleStatsPlugin.dll index b3763451..6ee8ab6c 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 8b9a4ec5..9eaa21e4 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 16781a42..ace0be35 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)