From b25df83df72f1ebaa589611ccd219a3bfee5e3fb Mon Sep 17 00:00:00 2001 From: Anselme Date: Fri, 21 Aug 2015 17:22:28 +0200 Subject: [PATCH] fixed case --- app/fourasmodule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/fourasmodule.cpp b/app/fourasmodule.cpp index d52ec56..9dbb685 100644 --- a/app/fourasmodule.cpp +++ b/app/fourasmodule.cpp @@ -31,7 +31,7 @@ bool FourasModule::messageHandler(Message msg) return true; } - if(current != -1 && msg.args.contains(riddles->getAnswer(current))) + if(current != -1 && msg.args.contains(riddles->getAnswer(current), Qt::CaseInsensitive)) { answer = say(QString("Bravo %1 ! la réponse était bien : %2").arg(msg.nick).arg(riddles->getAnswer(current))); current = -1;