fix webirc password handling

This commit is contained in:
Shivaram Lingamneni 2018-08-06 04:55:39 -04:00
parent dfb0a57040
commit eb5f2c1db9
1 changed files with 0 additions and 2 deletions

View File

@ -27,9 +27,7 @@ func (wc *webircConfig) Populate() (err error) {
} }
if wc.PasswordString != "" { if wc.PasswordString != "" {
var password []byte
wc.Password, err = decodeLegacyPasswordHash(wc.PasswordString) wc.Password, err = decodeLegacyPasswordHash(wc.PasswordString)
wc.Password = password
} }
return err return err
} }