mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
Merge remote-tracking branch 'origin/master' into cap-protocol
Conflicts: irc/server.go
This commit is contained in:
commit
d54f530d13
12 changed files with 194 additions and 222 deletions
|
|
@ -1,7 +1,6 @@
|
|||
package irc
|
||||
|
||||
import (
|
||||
"code.google.com/p/go.crypto/bcrypt"
|
||||
"code.google.com/p/go.text/unicode/norm"
|
||||
"errors"
|
||||
"fmt"
|
||||
|
|
@ -214,7 +213,7 @@ func (cmd *PassCommand) CheckPassword() {
|
|||
if cmd.hash == nil {
|
||||
return
|
||||
}
|
||||
cmd.err = bcrypt.CompareHashAndPassword(cmd.hash, cmd.password)
|
||||
cmd.err = ComparePassword(cmd.hash, cmd.password)
|
||||
}
|
||||
|
||||
func NewPassCommand(args []string) (editableCommand, error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue