Skip to content

Commit e3b99ac

Browse files
committed
Remove writeLine override for Connection
- No longer necessary given that we're connecting to Ergo now
1 parent ceb2c84 commit e3b99ac

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/stores/irc.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ export interface InitClientConfig {
1212
uid: string;
1313
}
1414

15-
export class CustomConnection extends Connection {
16-
override writeLine(line: string, cb: () => void): void {
17-
super.writeLine(`${line}\r\n`, cb);
18-
}
19-
}
20-
2115
const useIrcStore = defineStore('irc', () => {
2216
/**
2317
* Tracking if the client has started the connection.
@@ -72,7 +66,7 @@ const useIrcStore = defineStore('irc', () => {
7266
nick,
7367
username: uid,
7468
gecos: username,
75-
transport: CustomConnection,
69+
transport: Connection,
7670
enable_echomessage: true,
7771
auto_reconnect_max_retries: 10,
7872
auto_reconnect_max_wait: 300_000,

0 commit comments

Comments
 (0)