siteFactory tried parsing empty url

This commit is contained in:
Beepboop Belong the 3rd 2020-04-13 21:13:13 +02:00
parent 1905512293
commit 73363e0f1a
Signed by: beepboopbelong
GPG Key ID: B873A12869A7BD29

View File

@ -15,6 +15,9 @@ import sites.nhentai;
+/
void siteFactory(string url)
{
// if url is empty just return
if(url == "") return;
immutable string hentaicafe_indicator = "/hc.fyi/";
immutable string nhentai_indicator = "/g/";