Commit 3aaa131c authored by nanahira's avatar nanahira

remove workaround for service listening

parent 0d9c0837
......@@ -153,12 +153,12 @@ export class KoishiMetascanService {
methodFun.call(instance, ...args),
);
// special events
if (typeof eventName === 'string' && eventName.startsWith('service/')) {
/*if (typeof eventName === 'string' && eventName.startsWith('service/')) {
const serviceName = eventName.slice(8);
if (baseContext[serviceName] != null) {
methodFun.call(instance);
}
}
}*/
break;
case 'plugin':
const pluginDesc: KoishiModulePlugin<any> = await methodFun.call(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment