voice-client: do not use local out of function

This commit is contained in:
Sukru Senli 2018-01-02 16:45:40 +01:00
parent 5f2cd6d185
commit 27edf8ced1

View file

@ -2,10 +2,10 @@
. /lib/functions.sh
local daymatch=0
local timematch=0
local current_day=$(date | awk '{print$1}' | tr '[A-Z]' '[a-z]')
local current_time=$(date +%H%M)
daymatch=0
timematch=0
current_day=$(date | awk '{print$1}' | tr '[A-Z]' '[a-z]')
current_time=$(date +%H%M)
day_to_number() {
case $1 in