Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat crashfix #1343

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3960,3 +3960,6 @@ Added: 'H' shortcut for variables to get the value as hexadecimal.
NOTE;
1. If no ReflectDamage or ReduceDamage values ​​are entered, the system defaults to the Reactive Armor Effect value.
2. No damage amount can be less than 1.

4-12-2024, canerksk
- Fixed: Sphere crash troubleshooting if a player has no CHATNAME value and remove a channel
2 changes: 1 addition & 1 deletion src/game/clients/CChatChanMember.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ lpctstr CChatChanMember::GetChatName() const
ADDTOCALLSTACK("CChatChanMember::GetChatName");
const CClient *pClient = GetClientActive();

if (pClient)
if (pClient && pClient->GetAccount() && !pClient->GetAccount()->m_sChatName.IsEmpty())
return(pClient->GetAccount()->m_sChatName);
return "";
}
Expand Down