mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Remove “inf” argument from shutdown command help (#5880)
This commit is contained in:
parent
30c51a1115
commit
80fe516e4e
1 changed files with 1 additions and 1 deletions
|
@ -807,7 +807,7 @@ core.register_chatcommand("days", {
|
|||
|
||||
core.register_chatcommand("shutdown", {
|
||||
description = "Shutdown server",
|
||||
params = "[delay_in_seconds(0..inf) or -1 for cancel] [reconnect] [message]",
|
||||
params = "[delay_in_seconds (non-negative number, or -1 to cancel)] [reconnect] [message]",
|
||||
privs = {server=true},
|
||||
func = function(name, param)
|
||||
local delay, reconnect, message = param:match("([^ ][-]?[0-9]+)([^ ]+)(.*)")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue