diff --git a/common/database_instances.cpp b/common/database_instances.cpp index 2cf3923fa..0c4be4bd6 100644 --- a/common/database_instances.cpp +++ b/common/database_instances.cpp @@ -507,7 +507,7 @@ void Database::FlagInstanceByGroupLeader(uint32 zone, int16 version, uint32 char char ln[128]; memset(ln, 0, 128); - strcpy(ln, GetGroupLeadershipInfo(gid, ln)); + GetGroupLeadershipInfo(gid, ln); uint32 l_charid = GetCharacterID((const char*)ln); uint16 l_id = GetInstanceID(zone, l_charid, version); diff --git a/zone/client_packet.cpp b/zone/client_packet.cpp index 42657907e..05e6cf183 100644 --- a/zone/client_packet.cpp +++ b/zone/client_packet.cpp @@ -1532,7 +1532,7 @@ void Client::Handle_Connect_OP_ZoneEntry(const EQApplicationPacket *app) int mentor_percent; GroupLeadershipAA_Struct GLAA; memset(ln, 0, 64); - strcpy(ln, database.GetGroupLeadershipInfo(group->GetID(), ln, MainTankName, AssistName, PullerName, NPCMarkerName, mentoree_name, &mentor_percent, &GLAA)); + database.GetGroupLeadershipInfo(group->GetID(), ln, MainTankName, AssistName, PullerName, NPCMarkerName, mentoree_name, &mentor_percent, &GLAA); Client *c = entity_list.GetClientByName(ln); if (c) group->SetLeader(c); diff --git a/zone/worldserver.cpp b/zone/worldserver.cpp index 7b95bf289..a838a75cb 100644 --- a/zone/worldserver.cpp +++ b/zone/worldserver.cpp @@ -1048,7 +1048,7 @@ void WorldServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p) int mentor_percent; GroupLeadershipAA_Struct GLAA; memset(ln, 0, 64); - strcpy(ln, database.GetGroupLeadershipInfo(group->GetID(), ln, MainTankName, AssistName, PullerName, NPCMarkerName, mentoree_name, &mentor_percent, &GLAA)); + database.GetGroupLeadershipInfo(group->GetID(), ln, MainTankName, AssistName, PullerName, NPCMarkerName, mentoree_name, &mentor_percent, &GLAA); Client *lc = entity_list.GetClientByName(ln); if (lc) group->SetLeader(lc);