typos
This commit is contained in:
parent
448bd832a3
commit
5013523b88
@ -126,6 +126,6 @@ export interface IIRCConnectorConstructor {
|
||||
): IIRCConnector;
|
||||
}
|
||||
|
||||
export interface IIRCConnetionConstructor {
|
||||
export interface IIRCConnectionConstructor {
|
||||
new (options: IIRCOptions, connector: IIRCConnectorConstructor): IIRCWrapper;
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { IRCConnection } from '../irc';
|
||||
import { IIRCWrapper } from '../types/impl.interface';
|
||||
import { INickServOptions } from '../types/irc.interfaces';
|
||||
import { Collector } from './collector';
|
||||
|
||||
@ -35,7 +36,7 @@ export class NickServCollector extends Collector {
|
||||
export class NickServValidator {
|
||||
public nickservStore: { [key: string]: INickStore } = {};
|
||||
|
||||
constructor(public irc: IRCConnection) {
|
||||
constructor(public irc: IIRCWrapper) {
|
||||
this.irc.on('leave', ({ nickname }) => {
|
||||
if (this.nickservStore[nickname]) {
|
||||
delete this.nickservStore[nickname];
|
||||
|
Loading…
Reference in New Issue
Block a user