Fix for hint command.

- Fix to prevent replies to the hint command after a KAOS question is over
This commit is contained in:
Yizhe Shen 2014-08-07 23:40:14 -04:00
parent 6bd733a9d6
commit b5501e524e
1 changed files with 2 additions and 0 deletions

View File

@ -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