diff options
Diffstat (limited to 'plugins/muc/lock.lib.lua')
-rw-r--r-- | plugins/muc/lock.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/lock.lib.lua b/plugins/muc/lock.lib.lua index 928805ec..d7ee4eca 100644 --- a/plugins/muc/lock.lib.lua +++ b/plugins/muc/lock.lib.lua @@ -21,7 +21,7 @@ local function unlock(room) room._data.locked = nil; end local function is_locked(room) - local ts = room._data.locked or false; + local ts = room._data.locked; if ts then if ts < os.time() then return true; end unlock(room); |