mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-12-29 13:12:36 +00:00
quote message also in case statement
I don't now if its needed, but in my try to find the error in my commands.sh version, I also quoted the $MESSAGE in the case statement. Since it does not hurt it seems to be on the safe side.
This commit is contained in:
parent
dfdbb5f599
commit
44d96a9b8b
@ -47,7 +47,7 @@ else
|
||||
fi
|
||||
fi &
|
||||
fi
|
||||
case $MESSAGE in
|
||||
case "$MESSAGE" in
|
||||
'/question')
|
||||
startproc "./question"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user