Skip to content

Commit

Permalink
sasl: leave authorization identity empty
Browse files Browse the repository at this point in the history
  • Loading branch information
ncfavier committed Nov 19, 2021
1 parent 6977d97 commit ddb8fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nirc.hs
Expand Up @@ -128,7 +128,7 @@ main = do
("CAP", _:"ACK":_) -> do
sendRaw "AUTHENTICATE PLAIN" conn
("AUTHENTICATE", _) -> do
sendRaw ("AUTHENTICATE " ++ (BS.unpack . encode . BS.pack $ intercalate "\0" [nickname, nickname, password])) conn
sendRaw ("AUTHENTICATE " ++ (BS.unpack . encode . BS.pack $ intercalate "\0" ["", nickname, password])) conn
("CAP", _:"NAK":_) -> do
sendIRC "CAP" ["END"] conn
nickServ ["IDENTIFY", password] conn
Expand Down

0 comments on commit ddb8fb2

Please sign in to comment.