summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/bayes_expiry.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua/bayes_expiry.lua')
-rw-r--r--src/plugins/lua/bayes_expiry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/bayes_expiry.lua b/src/plugins/lua/bayes_expiry.lua
index 488219367..e75a8527c 100644
--- a/src/plugins/lua/bayes_expiry.lua
+++ b/src/plugins/lua/bayes_expiry.lua
@@ -167,7 +167,7 @@ local expiry_script = [[
local lock = redis.call('GET', lock_key)
if lock then
- if lock ~= ${hostname} then
+ if lock ~= '${hostname}' then
return 'locked by ' .. lock
end
end