ref #1044 Does this fix ow case sensitive search?

This commit is contained in:
Kwoth 2017-03-09 01:26:24 +01:00
parent a58d47758d
commit dc283d1054

View File

@ -20,7 +20,7 @@ namespace NadekoBot.Modules.Searches
{ {
if (string.IsNullOrWhiteSpace(query)) if (string.IsNullOrWhiteSpace(query))
return; return;
var battletag = Regex.Replace(query, "#", "-", RegexOptions.IgnoreCase); var battletag = Regex.Replace(query, "#", "-");
await Context.Channel.TriggerTypingAsync().ConfigureAwait(false); await Context.Channel.TriggerTypingAsync().ConfigureAwait(false);
try try