aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_admin_shell.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index bab5c4b2..d44f4635 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -330,8 +330,8 @@ function def_env.server:uptime()
minutes, (minutes ~= 1 and "s") or "", os.date("%c", prosody.start_time));
end
-function def_env.server:shutdown(reason)
- prosody.shutdown(reason);
+function def_env.server:shutdown(reason, code)
+ prosody.shutdown(reason, code);
return true, "Shutdown initiated";
end