minor fixes

This commit is contained in:
Zach H 2015-09-18 09:56:32 -04:00
parent ead6ab3ad6
commit ccc8ac4826
2 changed files with 30 additions and 29 deletions

View file

@ -116,7 +116,7 @@ void TabMessage::processUserMessageEvent(const Event_UserMessage &event)
soundEngine->playSound("private_message");
if (settingsCache->getShowMessagePopup() && shouldShowSystemPopup(event))
showSystemPopup(event);
if (QString::fromStdString(event.sender_name()).simplified() == "Servatrice")
if (QString::fromStdString(event.sender_name()).toLower().simplified() == "servatrice")
sayEdit->setDisabled(true);
emit userEvent();