mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-04 14:38:50 +00:00
fix(logger): Require command ace permission to open ui
This commit is contained in:
1 parent
3cfa080cfc
commit
9369873481
1 file changed
+1
@@ -33,6 +33,7 @@ export const logQuery = (invokingResource: string, query: string, executionTime:
|
|||||||
RegisterCommand(
|
RegisterCommand(
|
||||||
'mysql',
|
'mysql',
|
||||||
(source: number) => {
|
(source: number) => {
|
||||||
|
if (!IsPlayerAceAllowed(source.toString(), 'command')) return;
|
||||||
if (!mysql_ui) return;
|
if (!mysql_ui) return;
|
||||||
|
|
||||||
let totalQueries: number = 0;
|
let totalQueries: number = 0;
|
||||||
|
|||||||
Reference in new issue
Block a user