aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_smacks.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_smacks.lua b/plugins/mod_smacks.lua
index 1f1ebd7d..ce757707 100644
--- a/plugins/mod_smacks.lua
+++ b/plugins/mod_smacks.lua
@@ -419,6 +419,7 @@ module:hook("pre-resource-unbind", function (event)
end
return
end
+ if session.hibernating then return end
session.hibernating = os_time();
session.hibernating_watchdog = watchdog.new(resume_timeout, function()