Fixed acl command calling error function

This commit is contained in:
Timo Smit 2017-01-21 14:51:13 +01:00
parent 0531d27220
commit 1ca7070646

View file

@ -194,7 +194,7 @@ function commandAcl(clientId, cmdArguments)
elseif cmd == "copyroles" then elseif cmd == "copyroles" then
return commandAclCopyLevelRoles(cmdArguments) return commandAclCopyLevelRoles(cmdArguments)
else else
error("usage: acl [listlevels|addlevel|removelevel|relevel|listroles|isallowed|addrole|removerole|copyroles]") et.G_Print("usage: acl [listlevels|addlevel|removelevel|relevel|listroles|isallowed|addrole|removerole|copyroles]")
end end
return true return true