summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir_app/src/chat_log.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mir_app/src/chat_log.cpp b/src/mir_app/src/chat_log.cpp
index 32bd10bcc3..1068dcff2d 100644
--- a/src/mir_app/src/chat_log.cpp
+++ b/src/mir_app/src/chat_log.cpp
@@ -52,20 +52,20 @@ MIR_APP_DLL(bool) Chat_GetDefaultEventDescr(const SESSION_INFO *si, const LOGINF
case GC_EVENT_JOIN:
if (!lin->bIsMe) {
if (!wszNick.IsEmpty())
- res.AppendFormat(TranslateT("%s has joined"), wszNick.c_str());
+ res.AppendFormat(TranslateT("%s has joined %s"), wszNick.c_str(), si->ptszName);
}
else res.AppendFormat(TranslateT("You have joined %s"), si->ptszName);
- break;
+ return true;
case GC_EVENT_PART:
if (!wszNick.IsEmpty())
- res.AppendFormat(TranslateT("%s has left"), wszNick.c_str());
- break;
+ res.AppendFormat(TranslateT("%s has left %s"), wszNick.c_str(), si->ptszName);
+ return true;
case GC_EVENT_QUIT:
if (!wszNick.IsEmpty())
res.AppendFormat(TranslateT("%s has disconnected"), wszNick.c_str());
- break;
+ return true;
case GC_EVENT_NICK:
if (!lin->bIsMe) {