aboutsummaryrefslogtreecommitdiff
path: root/src/operate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/operate.cc')
-rw-r--r--src/operate.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/operate.cc b/src/operate.cc
index 92c5633..33cb6ac 100644
--- a/src/operate.cc
+++ b/src/operate.cc
@@ -4079,10 +4079,9 @@ void JoinParty(uint32 GuestID, uint32 HostID){
}
if(Guest->GetPartyLeader(true) != 0){
- bool SameParty = Guest->GetPartyLeader(true) == Host->GetPartyLeader(true);
SendMessage(Guest->Connection, TALK_INFO_MESSAGE,
"You are already member of %s party.",
- (SameParty ? "this" : "a"));
+ (Guest->InPartyWith(Host, true) ? "this" : "a"));
return;
}