Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Hacker <dd0t@users.sourceforge.net>2009-11-28 16:24:46 +0300
committerStefan Hacker <dd0t@users.sourceforge.net>2009-11-28 16:24:46 +0300
commit1c8d12791e346a8ec8cf3c8ba82ba4dcdfb48f23 (patch)
treed511964997811fc1ffda4f4097a111d870d50ca5 /src
parent85919ce331382e4816113d74b228d95b231efeb4 (diff)
Fix mistake in previous message patch
Diffstat (limited to 'src')
-rw-r--r--src/mumble/Messages.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mumble/Messages.cpp b/src/mumble/Messages.cpp
index 9b72cf449..2d80370f0 100644
--- a/src/mumble/Messages.cpp
+++ b/src/mumble/Messages.cpp
@@ -312,14 +312,14 @@ void MainWindow::msgUserState(const MumbleProto::UserState &msg) {
}
else {
if (msg.has_mute()) {
- if (!pDst->bMute)
+ if (pDst->bMute)
+ g.l->log(Log::OtherMutedOther, tr("%1 muted by %2.").arg(vic, admin));
+ else
g.l->log(Log::OtherMutedOther, tr("%1 unmuted by %2.").arg(vic, admin));
}
if (msg.has_deaf()) {
- if (pDst->bDeaf)
- g.l->log(Log::OtherMutedOther, tr("%1 deafened by %2.").arg(vic, admin));
- else
+ if (!pDst->bDeaf)
g.l->log(Log::OtherMutedOther, tr("%1 undeafened by %2.").arg(vic, admin));
}
}