mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 16:55:10 +00:00
[FIX] Fix silly SEGV
Thanks, EP
This commit is contained in:
parent
110a1b695f
commit
4f694129fc
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue