fix(logger): Require command ace permission to open ui

This commit is contained in:
Luke committed 2022-02-11 13:03:53 +01:00
1 parent 3cfa080cfc
commit 9369873481
1 file changed
+1
+1
View File
@@ -33,6 +33,7 @@ export const logQuery = (invokingResource: string, query: string, executionTime:
RegisterCommand(
'mysql',
(source: number) => {
if (!IsPlayerAceAllowed(source.toString(), 'command')) return;
if (!mysql_ui) return;
let totalQueries: number = 0;