[FIX] Fix silly SEGV

Thanks, EP
This commit is contained in:
lda 2025-02-07 18:34:45 +00:00
commit 4f694129fc

View file

@ -255,7 +255,7 @@ ParseeBotHandler(ParseeData *data, HashMap *event)
return; return;
} }
if (*body != '!') if (!body || *body != '!')
{ {
/* All commands are to be marked with a ! */ /* All commands are to be marked with a ! */
Free(profile); Free(profile);