mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
fix
This commit is contained in:
parent
d392e653e1
commit
02c4a468cb
@ -225,7 +225,7 @@ export class NapCatOneBot11Adapter {
|
||||
const prevClient = prev.network.httpClients.find(c => c.name === client.name);
|
||||
if (prevClient && prevClient.enable !== client.enable) {
|
||||
if (client.enable) {
|
||||
let adapter = new OB11ActiveHttpAdapter(client.name, client, this.core, this,this.actions);
|
||||
let adapter = new OB11ActiveHttpAdapter(client.name, client, this.core, this, this.actions);
|
||||
adapter.open();
|
||||
this.networkManager.registerAdapter(
|
||||
adapter
|
||||
@ -290,7 +290,7 @@ export class NapCatOneBot11Adapter {
|
||||
for (const client of addedHttpClients) {
|
||||
|
||||
if (client.enable) {
|
||||
let adapter = new OB11ActiveHttpAdapter(client.name, client, this.core, this,this.actions);
|
||||
let adapter = new OB11ActiveHttpAdapter(client.name, client, this.core, this, this.actions);
|
||||
adapter.open();
|
||||
this.networkManager.registerAdapter(adapter);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user