closes #491, added check to prevent crash in getAnonUserCount

This commit is contained in:
Baris Usakli
2013-11-11 12:40:15 -05:00
parent d770963b69
commit 4ce6ac5af9
4 changed files with 17 additions and 4 deletions

View File

@@ -265,7 +265,7 @@ var RDB = require('./redis.js'),
Posts.emitTooManyPostsAlert = function(socket) {
socket.emit('event:alert', {
title: 'Too many posts!',
message: 'You can only post every ' + meta.config.postDelay / 1000 + ' seconds.',
message: 'You can only post every ' + meta.config.postDelay + ' seconds.',
type: 'danger',
timeout: 2000
});