diff options
Diffstat (limited to 'src/gui/widgets/chattab.cpp')
-rw-r--r-- | src/gui/widgets/chattab.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp index 01d8b62b..2f967162 100644 --- a/src/gui/widgets/chattab.cpp +++ b/src/gui/widgets/chattab.cpp @@ -97,10 +97,11 @@ void ChatTab::chatLog(std::string line, int own, bool ignoreRecord) } // *implements actions in a backwards compatible way* - if (own == BY_PLAYER && + if ((own == BY_PLAYER || own == BY_OTHER) && tmp.text.at(0) == '*' && tmp.text.at(tmp.text.length()-1) == '*') { + printf("Action from %s: %s\n", tmp.nick.c_str(), tmp.text.c_str()); tmp.text[0] = ' '; tmp.text.erase(tmp.text.length() - 1); own = ACT_IS; |