From 2e27d7deceffc465eff38b74c8ebeadcdcda4ea5 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Fri, 15 Jun 2012 17:20:05 +0100 Subject: [PATCH] votees stores vote, can change vote --- modules/poll.js | 22 ++++++++++++++-------- modules/web.js | 2 +- strings.json | 6 +++--- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/modules/poll.js b/modules/poll.js index 8b883c1..75a55f5 100644 --- a/modules/poll.js +++ b/modules/poll.js @@ -20,7 +20,7 @@ var poll = function(dbot) { 'description': description, 'owner': event.user, 'votes': {}, - 'votees': [] + 'votees': {} }; for(var i=0;i