diff options
Diffstat (limited to 'lib/utils/proto-list.js')
-rw-r--r-- | lib/utils/proto-list.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/proto-list.js b/lib/utils/proto-list.js index 6adefdf42..a2917c247 100644 --- a/lib/utils/proto-list.js +++ b/lib/utils/proto-list.js @@ -39,7 +39,7 @@ ProtoList.prototype = return this.list.shift() } , get : function (key) { - return this.list[0][key] + return this.list[this.list.length - 1][key] } , set : function (key, val, save) { if (!this.length) this.push({}) |