Merge branch 'master' into devel

This commit is contained in:
HF 2022-09-24 14:52:08 +02:00
commit 2e199612a0
2 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@
import client from './client';
import { PREFIX as ALLOWED_PREFIX } from './isAllowedCache';
const MUTE_PREFIX = 'MUTE_PREFIX';
const MUTEC_PREFIX = 'MUTE_PREFIXc';
const MUTE_PREFIX = 'mute';
const MUTEC_PREFIX = 'mutec';
/*
* check if user can send chat message in channel

View File

@ -36,7 +36,7 @@ end
local ia = redis.call('get', KEYS[3])
if not ia then
ret[2] = 1
else
elseif tonumber(ia) > 0 then
ret[1] = tonumber(ia)
end
return ret