1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Fix parsing of alias command

This actually only set the local ran pointer to NULL.
But we want an effect on the outside variable.
This commit is contained in:
Michael Vetter 2020-04-20 15:54:32 +02:00
parent 25dbebab17
commit 5db14b2c48

View File

@ -8082,7 +8082,7 @@ static gboolean
_cmd_execute_alias(ProfWin *window, const char *const inp, gboolean *ran)
{
if (inp[0] != '/') {
ran = FALSE;
*ran = FALSE;
return TRUE;
}