fixed case
This commit is contained in:
parent
59aaf6dfaa
commit
b25df83df7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user