summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/beinghandler.cpp2
-rw-r--r--src/net/ea/partyhandler.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp
index 8a958845..1ede1b8d 100644
--- a/src/net/ea/beinghandler.cpp
+++ b/src/net/ea/beinghandler.cpp
@@ -483,7 +483,7 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
{
PartyMember *member = partyWindow->findMember(id);
- if (member && member->online)
+ if (member && member->getAvatar()->getOnline())
{
player->setInParty(true);
}
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp
index 0865f71c..21d63ae5 100644
--- a/src/net/ea/partyhandler.cpp
+++ b/src/net/ea/partyhandler.cpp
@@ -268,7 +268,7 @@ void PartyHandler::handleMessage(Net::MessageIn &msg)
PartyMember *member = partyWindow->findMember(id);
if (member)
- partyTab->chatLog(member->name, chatMsg);
+ partyTab->chatLog(member->getAvatar()->getName(), chatMsg);
else
partyTab->chatLog(strprintf(_("An unknown member tried to "
"say: %s"), chatMsg.c_str()), BY_SERVER);