Fixed some nsfw things

This commit is contained in:
Kwoth 2016-12-27 11:40:43 +01:00
parent fbf345ae02
commit 286fe8f81a

View File

@ -814,7 +814,7 @@ namespace NadekoBot.Modules.Searches
public static async Task<string> InternalDapiSearch(string tag, DapiSearchType type) public static async Task<string> InternalDapiSearch(string tag, DapiSearchType type)
{ {
tag = tag.Replace(" ", "_"); tag = tag?.Replace(" ", "_");
string website = ""; string website = "";
switch (type) switch (type)
{ {