We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e53d6c9 commit a3fcac0Copy full SHA for a3fcac0
src/irc.ts
@@ -219,12 +219,12 @@ export class Client extends (EventEmitter as unknown as new () => TypedEmitter<C
219
if (opt.channelPrefixes) {
220
this.state.supportedState.channel.types = opt.channelPrefixes;
221
}
222
- this.state.capabilities.once('serverCapabilitesReady', () => {
+ this.state.capabilities.on('serverCapabilitesReady', () => {
223
this.onCapsList();
224
// Flush on capabilities modified
225
this.state.flush?.();
226
})
227
- this.state.capabilities.once('userCapabilitesReady', () => {
+ this.state.capabilities.on('userCapabilitesReady', () => {
228
this.onCapsConfirmed();
229
230
0 commit comments