summaryrefslogtreecommitdiff
path: root/src/net/ea/partyhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-rw-r--r--src/net/ea/partyhandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp
index 70207ec2a..6d76e3165 100644
--- a/src/net/ea/partyhandler.cpp
+++ b/src/net/ea/partyhandler.cpp
@@ -124,7 +124,6 @@ void PartyHandler::processPartyInfo(Net::MessageIn &msg)
if (Ea::taParty)
{
- PartyMember *member = nullptr;
if (oldParty)
{
//member = Ea::taParty->getMember(id);
@@ -135,7 +134,7 @@ void PartyHandler::processPartyInfo(Net::MessageIn &msg)
nick.c_str()), BY_SERVER);
}
}
- member = Ea::taParty->addMember(id, nick);
+ PartyMember *member = Ea::taParty->addMember(id, nick);
if (member)
{