1
0
Fork 0
forked from External/ergo

Merge remote-tracking branch 'origin/master' into cap-protocol

Conflicts:
	irc/server.go
This commit is contained in:
Jeremy Latt 2014-03-06 10:34:50 -08:00
commit d54f530d13
12 changed files with 194 additions and 222 deletions

View file

@ -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) {