Fix 'shout add' crash

This commit is contained in:
Mattias Erming 2014-09-11 16:55:16 -07:00
parent 0365e01859
commit 0f68823298
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "shout", "name": "shout",
"description": "A web IRC client", "description": "A web IRC client",
"version": "0.25.1", "version": "0.25.2",
"author": "Mattias Erming", "author": "Mattias Erming",
"preferGlobal": true, "preferGlobal": true,
"bin": { "bin": {

View File

@ -47,7 +47,7 @@ program
if (err) { if (err) {
return; return;
} }
var hash = hashSync(password, 8); var hash = bcrypt.hashSync(password, 8);
manager.addUser( manager.addUser(
name, name,
hash hash