Merge pull request #4594 from thelounge/xpaw/fix-4593
Fix user commands not working
This commit is contained in:
commit
f715c833e7
@ -20,7 +20,7 @@ program
|
|||||||
}
|
}
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||||
const ClientManager = require("../../clientManager");
|
const ClientManager = require("../../clientManager").default;
|
||||||
const manager = new ClientManager();
|
const manager = new ClientManager();
|
||||||
const users = manager.getUsers();
|
const users = manager.getUsers();
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ program
|
|||||||
}
|
}
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||||
const ClientManager = require("../../clientManager");
|
const ClientManager = require("../../clientManager").default;
|
||||||
const users = new ClientManager().getUsers();
|
const users = new ClientManager().getUsers();
|
||||||
|
|
||||||
if (users === undefined) {
|
if (users === undefined) {
|
||||||
|
@ -17,7 +17,7 @@ program
|
|||||||
}
|
}
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||||
const ClientManager = require("../../clientManager");
|
const ClientManager = require("../../clientManager").default;
|
||||||
const manager = new ClientManager();
|
const manager = new ClientManager();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
@ -19,7 +19,7 @@ program
|
|||||||
}
|
}
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||||
const ClientManager = require("../../clientManager");
|
const ClientManager = require("../../clientManager").default;
|
||||||
const users = new ClientManager().getUsers();
|
const users = new ClientManager().getUsers();
|
||||||
|
|
||||||
if (users === undefined) {
|
if (users === undefined) {
|
||||||
|
Loading…
Reference in New Issue
Block a user