1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 07:13:58 -05:00

fix copy paste error in penalty loader

start allowing color codes from ingame
This commit is contained in:
RaidMax
2019-08-01 09:37:33 -05:00
parent 984573c902
commit a5c3f78ba8
7 changed files with 27 additions and 23 deletions

View File

@ -138,7 +138,7 @@ namespace SharedLibraryCore
/// </summary>
/// <param name="str">String containing color codes</param>
/// <returns></returns>
public static String StripColors(this string str)
public static string StripColors(this string str)
{
if (str == null)
{
@ -860,7 +860,7 @@ namespace SharedLibraryCore
var queryCompilationContext = databaseDependencies.QueryCompilationContextFactory.Create(false);
var modelVisitor = (RelationalQueryModelVisitor)queryCompilationContext.CreateQueryModelVisitor();
modelVisitor.CreateQueryExecutor<TEntity>(queryModel);
var sql = modelVisitor.Queries.First().ToString().Replace("\"", "`");
var sql = modelVisitor.Queries.First().ToString();
return sql;
}