Skip to content

Commit b088487

Browse files
committed
Enable network auto-reconnect and channel auto-rejoin
Closes #93
1 parent cc634a1 commit b088487

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/irc.coffee

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,13 @@ class IrcBot extends Adapter
180180
port: options.port
181181
stripColors: true
182182
secure: options.usessl
183+
sasl: options.usesasl
183184
selfSigned: options.fakessl
184185
certExpired: options.certExpired
185186
floodProtection: @unfloodProtection(options.unflood),
186187
floodProtectionDelay: @unfloodProtectionDelay(options.unflood),
187-
sasl: options.usesasl
188+
autoRejoin: true
189+
retryCount: Infinity
188190

189191
client_options['channels'] = options.rooms unless options.nickpass
190192

0 commit comments

Comments
 (0)