aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/muc/lock.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/lock.lib.lua b/plugins/muc/lock.lib.lua
index d7ee4eca..764142db 100644
--- a/plugins/muc/lock.lib.lua
+++ b/plugins/muc/lock.lib.lua
@@ -23,7 +23,7 @@ end
local function is_locked(room)
local ts = room._data.locked;
if ts then
- if ts < os.time() then return true; end
+ if os.time() < ts then return true; end
unlock(room);
end
return false;