diff --git a/modules/poll.js b/modules/poll.js index 79ed33d..dac4e73 100644 --- a/modules/poll.js +++ b/modules/poll.js @@ -24,7 +24,11 @@ var poll = function(dbot) { 'description': description, 'owner': event.user, 'votes': {}, + 'options': [] }; + for(var i=0;i