From b5501e524eecb92debb2c3b1380d2ee223114cdc Mon Sep 17 00:00:00 2001 From: Yizhe Shen Date: Thu, 7 Aug 2014 23:40:14 -0400 Subject: [PATCH] Fix for hint command. - Fix to prevent replies to the hint command after a KAOS question is over --- plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin.py b/plugin.py index cff841e..9b7f447 100644 --- a/plugin.py +++ b/plugin.py @@ -1836,6 +1836,8 @@ class TriviaTime(callbacks.Plugin): self.sendMessage(self.getOtherHintString()) def getRemainingKAOS(self): + if self.questionOver: + return if len(self.answers) > 1: if self.shownHint == False: self.shownHint = True