summaryrefslogtreecommitdiff
path: root/modules/todo
diff options
context:
space:
mode:
Diffstat (limited to 'modules/todo')
-rw-r--r--modules/todo/todo.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/todo/todo.js b/modules/todo/todo.js
index f3581f1..b5d3417 100644
--- a/modules/todo/todo.js
+++ b/modules/todo/todo.js
@@ -162,6 +162,7 @@ module.exports=function(app,io,_moddir){
return;
}
accounts[user.name]=hash;
+ naccounts++;
tasks[user.name]=[];
persist.setItemSync("accounts",accounts);
persist.setItemSync("tasks",tasks);