diff --git a/modules/poll.js b/modules/poll.js index 73a9c6e..8b883c1 100644 --- a/modules/poll.js +++ b/modules/poll.js @@ -1,7 +1,7 @@ var poll = function(dbot) { - if(!dbot.db.hasOwnProperty('polls')) { - dbot.db.polls = {}; - } + if(!dbot.db.hasOwnProperty('polls')) { + dbot.db.polls = {}; + } var polls = dbot.db.polls; var commands = { '~newpoll': function(event) {