summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_groupchat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_groupchat.cpp')
-rw-r--r--protocols/JabberG/src/jabber_groupchat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_groupchat.cpp b/protocols/JabberG/src/jabber_groupchat.cpp
index 4e5da67049..1e15445539 100644
--- a/protocols/JabberG/src/jabber_groupchat.cpp
+++ b/protocols/JabberG/src/jabber_groupchat.cpp
@@ -1199,7 +1199,7 @@ void CJabberProto::GroupchatProcessMessage(HXML node)
if (resource != NULL) {
JABBER_RESOURCE_STATUS *r = item->findResource(resource);
- nick = r && r->nick ? r->nick : resource;
+ nick = (r && r->nick) ? r->nick : resource;
}
else nick = NULL;