summaryrefslogtreecommitdiffstats
path: root/bridge/irc
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/irc')
-rw-r--r--bridge/irc/irc.go5
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)