diff --git a/package.json b/package.json index bafa74f4..a78fca47 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "shout", "description": "A web IRC client", - "version": "0.27.1", + "version": "0.27.2", "author": "Mattias Erming", "preferGlobal": true, "bin": { diff --git a/src/command-line/reset.js b/src/command-line/reset.js index 466535f2..0789349e 100644 --- a/src/command-line/reset.js +++ b/src/command-line/reset.js @@ -15,8 +15,7 @@ program console.log(""); return; } - var path = Helper.resolveHomePath("users"); - var file = path + name + "/user.json"; + var file = Helper.resolveHomePath("users/" + name + "/user.json"); var user = require(file); require("read")({ prompt: "Password: "