diff --git a/src/posts.js b/src/posts.js index e03badb1fd..41589a7793 100644 --- a/src/posts.js +++ b/src/posts.js @@ -196,6 +196,7 @@ var RDB = require('./redis.js'), RDB.set('pid:' + pid + ':content', content); RDB.set('pid:' + pid + ':uid', uid); RDB.set('pid:' + pid + ':timestamp', new Date().getTime()); + RDB.set('pid:' + pid + ':rep', 0); RDB.incr('tid:' + tid + ':postcount');