# HG changeset patch # User Kim Alvefur # Date 1411065220 -7200 # Node ID a7aa761a436d298f8256c9c22a525be7affb1098 # Parent a8f6fd6a70eddcb69198092ea2a3db6a0f1a4de3 util.sasl.scram: Fix typo diff -r a8f6fd6a70ed -r a7aa761a436d util/sasl/scram.lua --- a/util/sasl/scram.lua Thu Sep 18 20:32:38 2014 +0200 +++ b/util/sasl/scram.lua Thu Sep 18 20:33:40 2014 +0200 @@ -98,7 +98,7 @@ if stream.username and (stream.password or (stream.client_key or stream.server_key)) then if name == "SCRAM-SHA-1" then return scram, 99; - elseif name = "SCRAM-SHA-1-PLUS" then + elseif name == "SCRAM-SHA-1-PLUS" then local sock = stream.conn:ssl() and stream.conn:socket(); if sock and sock.getfinished then return scram, 100;