From 0fc51bece2eb93df0ce0b4e91a7014cd291e6715 Mon Sep 17 00:00:00 2001 From: DBX12 Date: Thu, 6 Apr 2023 16:20:53 +0200 Subject: [PATCH] Use bot.Nick and bot.Realname when doing SASL authenticate --- sasl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sasl.go b/sasl.go index d0dc8f0..e0b2a78 100644 --- a/sasl.go +++ b/sasl.go @@ -65,5 +65,5 @@ func (bot *Bot) SASLAuthenticate(user, pass string) { bot.Debug("Beginning SASL Authentication") bot.Send("CAP REQ :sasl") bot.SetNick(bot.Nick) - bot.sendUserCommand(bot.Nick, bot.Nick) + bot.sendUserCommand(bot.Nick, bot.Realname) }