diff --git a/storage/lvl.js b/storage/lvl.js index 84ff57862..1ddfbe97c 100644 --- a/storage/lvl.js +++ b/storage/lvl.js @@ -38,7 +38,7 @@ var getMessages = function (db, channelName, msgHandler) { if (i < index) { again(i+1); } })); }; - again(0); + if (index > -1) { again(0); } }); };