diff options
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r-- | src/gui/chat.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 11a327d8..027297a2 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -330,6 +330,7 @@ void ChatWindow::doPresent() } std::string cpc = strprintf(_("%d players are present."), playercount); + std::string log = _("Present: ") + response + std::string("; ") + cpc; if (mRecorder->isRecording()) { @@ -345,13 +346,13 @@ void ChatWindow::doPresent() << (int) ((t / 60) % 60) << "] "; - mRecorder->record(timeStr.str() + _("Present: ") + response + _("; ") + cpc); + mRecorder->record(timeStr.str() + log); getFocused()->chatLog(_("Attendance written to record log."), BY_SERVER, true); } else { - getFocused()->chatLog(_("Present: ") + response + _("; ") + cpc, BY_SERVER); + getFocused()->chatLog(log, BY_SERVER); } } |