From 4278de634173a40c8e13fd34046c46f41a5c456e Mon Sep 17 00:00:00 2001 From: lotodore Date: Sun, 31 Oct 2010 14:13:47 +0000 Subject: [PATCH] Do not search for /me, instead search for /me (with spacebar), so that typing things like /media will not activete the /me mode. --- src/gui/qt/chattools/chattools.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/qt/chattools/chattools.cpp b/src/gui/qt/chattools/chattools.cpp index 9afc9c20..052768cc 100644 --- a/src/gui/qt/chattools/chattools.cpp +++ b/src/gui/qt/chattools/chattools.cpp @@ -127,8 +127,8 @@ void ChatTools::receiveMessage(QString playerName, QString message) { if(!nickFoundOnIgnoreList) { - if(message.indexOf(QString("/me"))==0) { - myTextBrowser->append(tempMsg.replace("/me","*"+playerName+" ")+""); + if(message.indexOf(QString("/me "))==0) { + myTextBrowser->append(tempMsg.replace("/me ","*"+playerName+" ")+""); } else { myTextBrowser->append(playerName + ": " + tempMsg);