diff --git a/modules/poll.js b/modules/poll.js index ff2e3ba..52beeab 100644 --- a/modules/poll.js +++ b/modules/poll.js @@ -11,7 +11,8 @@ var poll = function(dbot) { } else { polls[name] = { 'name': name, - 'owner': event.user + 'owner': event.user, + 'votes': {} }; var options = event.input[2].split(',');