aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bot/ircmeeting/agenda.py5
-rw-r--r--bot/ircmeeting/meeting.py2
2 files changed, 4 insertions, 3 deletions
diff --git a/bot/ircmeeting/agenda.py b/bot/ircmeeting/agenda.py
index a77aafe..05e4a57 100644
--- a/bot/ircmeeting/agenda.py
+++ b/bot/ircmeeting/agenda.py
@@ -217,10 +217,11 @@ class Agenda(object):
result = str.format(self.timelimit_missing_msg, message)
return(result)
- def post_result(self):
+ def post_result(self, lines):
if not self.conf.manage_agenda:
return('')
- data_dict = {'votes' : self._votes, 'agenda' : self._agenda}
+ data_dict = {'votes' : self._votes, 'agenda' : self._agenda,
+ 'lines' : "\n".join(lines)}
data = urllib.quote(json.dumps(data_dict))
result_url = str.format(self.conf.result_url,
self.conf.voting_results_user,
diff --git a/bot/ircmeeting/meeting.py b/bot/ircmeeting/meeting.py
index a86c782..a15b674 100644
--- a/bot/ircmeeting/meeting.py
+++ b/bot/ircmeeting/meeting.py
@@ -380,7 +380,7 @@ class MeetingCommands(object):
for messageline in message.split('\n'):
self.reply(messageline)
self._meetingIsOver = True
- self.config.agenda.post_result()
+ self.config.agenda.post_result(self.lines)
def do_topic(self, nick, line, **kwargs):
"""Set a new topic in the channel."""
if not self.isChair(nick): return