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;