Fix tacticalname (#426)

* fix tactical node names fixes#420

* make / optional

* revert last change
This commit is contained in:
dman776 2022-07-13 16:18:08 -05:00 committed by GitHub
parent 55642e05be
commit 2e09886d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ if parms.button_save then
end
if nodetac:match("/") then
node, tactical = nodetac:match("^%s*([%w-]+)%s*/%s*([%w-])%s*$")
node, tactical = nodetac:match("^%s*([%w-]+)%s*/%s*([%w-]*)%s*$")
if tactical == "" then
err("invalid node/tactical name")
end