diff options
author | David Hill <dhill@mindcry.org> | 2018-11-07 14:36:50 -0500 |
---|---|---|
committer | Wim <wim@42.be> | 2018-11-07 20:36:50 +0100 |
commit | 0e2522279e8671a345c1be6b8b07c0f1a505e23e (patch) | |
tree | 968ac4b1acd0352ae9962d6f71bfd7d9c668596f /bridge/irc/irc.go | |
parent | 141a42a75b47b0a05f5b360ff5711819d3727a75 (diff) | |
download | matterbridge-msglm-0e2522279e8671a345c1be6b8b07c0f1a505e23e.tar.gz matterbridge-msglm-0e2522279e8671a345c1be6b8b07c0f1a505e23e.tar.bz2 matterbridge-msglm-0e2522279e8671a345c1be6b8b07c0f1a505e23e.zip |
Clean up various stuff (#508)
* various cleanups
Diffstat (limited to 'bridge/irc/irc.go')
-rw-r--r-- | bridge/irc/irc.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index cd37c0b4..c1cbdf60 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -106,7 +106,10 @@ func (b *Birc) Connect() error { }) if b.GetBool("UseSASL") { - i.Config.SASL = &girc.SASLPlain{b.GetString("NickServNick"), b.GetString("NickServPassword")} + i.Config.SASL = &girc.SASLPlain{ + User: b.GetString("NickServNick"), + Pass: b.GetString("NickServPassword"), + } } i.Handlers.Add(girc.RPL_WELCOME, b.handleNewConnection) |