Fix bot giving error in any question

This commit is contained in:
Marco Realacci 2024-01-31 13:01:37 +01:00
parent df7ac5b33d
commit 85f938173d

View file

@ -420,7 +420,7 @@ namespace SoUnBot.Modules.OttoLinux
};
string quest = qst.Quest;
if (qst.Image != "")
if (!string.IsNullOrEmpty(qst.Image))
{
try
{