We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
writeLine
1 parent ceb2c84 commit e3b99acCopy full SHA for e3b99ac
1 file changed
src/stores/irc.ts
@@ -12,12 +12,6 @@ export interface InitClientConfig {
12
uid: string;
13
}
14
15
-export class CustomConnection extends Connection {
16
- override writeLine(line: string, cb: () => void): void {
17
- super.writeLine(`${line}\r\n`, cb);
18
- }
19
-}
20
-
21
const useIrcStore = defineStore('irc', () => {
22
/**
23
* Tracking if the client has started the connection.
@@ -72,7 +66,7 @@ const useIrcStore = defineStore('irc', () => {
72
66
nick,
73
67
username: uid,
74
68
gecos: username,
75
- transport: CustomConnection,
69
+ transport: Connection,
76
70
enable_echomessage: true,
77
71
auto_reconnect_max_retries: 10,
78
auto_reconnect_max_wait: 300_000,
0 commit comments