little bit of debugging help
This commit is contained in:
parent
ef66087044
commit
fe9cb31d72
|
@ -48,7 +48,7 @@ object CommandCoreML {
|
|||
return "nonce in request does not match"
|
||||
}
|
||||
val powerLevelArg = args.getOrNull(2)?.toDoubleOrNull()
|
||||
val powerLevel = powerLevelArg ?: run { return "permLevel cannot be parsed" }
|
||||
val powerLevel = powerLevelArg ?: run { return "permLevel cannot be parsed (args: $args)" }
|
||||
?: request.powerlevel
|
||||
?: return "no permLevel provided"
|
||||
PermissionConfig.add(request.uuid, powerLevel, "${request.user} Authorized by $user")
|
||||
|
|
Loading…
Reference in New Issue