Navigation Menu

Skip to content

Commit

Permalink
Enable network auto-reconnect and channel auto-rejoin
Browse files Browse the repository at this point in the history
Closes #93
  • Loading branch information
chrisdotcode committed Dec 6, 2017
1 parent cc634a1 commit b088487
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/irc.coffee
Expand Up @@ -180,11 +180,13 @@ class IrcBot extends Adapter
port: options.port
stripColors: true
secure: options.usessl
sasl: options.usesasl
selfSigned: options.fakessl
certExpired: options.certExpired
floodProtection: @unfloodProtection(options.unflood),
floodProtectionDelay: @unfloodProtectionDelay(options.unflood),
sasl: options.usesasl
autoRejoin: true
retryCount: Infinity

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

Expand Down

0 comments on commit b088487

Please sign in to comment.