From 78b974901567b7b45d25403b255644fcd54d7246 Mon Sep 17 00:00:00 2001 From: Yizhe Shen Date: Thu, 13 Feb 2014 18:25:19 -0500 Subject: [PATCH] Minor change for hint command. Made the check for KAOS questions more robust. --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 7432460..aca5643 100644 --- a/plugin.py +++ b/plugin.py @@ -154,7 +154,7 @@ class TriviaTime(callbacks.Plugin): irc.sendMsg(ircmsgs.notice(username, "'{0}' now also works for KAOS hints! Please try it out!".format(otherHintCommand))) game.getRemainingKAOS() elif msg.args[1] == otherHintCommand: - if "KAOS" in game.question: + if game.question.find("KAOS:") == 0: game.getRemainingKAOS() else game.getOtherHint()