From 920e5453da00b06b0d23521ff3b10fa101f101e3 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Sat, 10 Oct 2015 18:44:01 -0500 Subject: [PATCH] just kidding, this is the actual fix --- Admin/plugins/SimpleStatsPlugin.dll | Bin 12288 -> 12288 bytes Admin/plugins/WebfrontPlugin.dll | Bin 26624 -> 26624 bytes SharedLibrary/Database.cs | 3 ++- 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Admin/plugins/SimpleStatsPlugin.dll b/Admin/plugins/SimpleStatsPlugin.dll index b37634519008642ca2225a2b44810fc341f954d4..6ee8ab6cc10338d2c4975b60c1b61be3e50e4277 100644 GIT binary patch delta 49 zcmZojXh@jQ!BnzvW0#YPfKT&ct2FsZPEDI^s4epM`|o* F2LLC46t4gP diff --git a/Admin/plugins/WebfrontPlugin.dll b/Admin/plugins/WebfrontPlugin.dll index 8b9a4ec5fac3b2a5ecf14ce3261196921004b8a6..9eaa21e435e736761dd324a58cd878e9c7822a69 100644 GIT binary patch delta 51 zcmZp;z}RqsaY6@E$-<3YPT>N@e}&9nJall_XyR3AxP7(s<~!kA*nyIhC&g6lD`*fHs1-~!VZ+2JSkp_k$v;t HcxMg(c 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)