From 4f694129fc9ff297cae318fb53fe238948a5bab1 Mon Sep 17 00:00:00 2001 From: lda Date: Fri, 7 Feb 2025 18:34:45 +0000 Subject: [PATCH] [FIX] Fix silly SEGV Thanks, EP --- src/MatrixEventHandler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MatrixEventHandler.c b/src/MatrixEventHandler.c index bf42124..fa44d2d 100644 --- a/src/MatrixEventHandler.c +++ b/src/MatrixEventHandler.c @@ -255,7 +255,7 @@ ParseeBotHandler(ParseeData *data, HashMap *event) return; } - if (*body != '!') + if (!body || *body != '!') { /* All commands are to be marked with a ! */ Free(profile);