diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-05-21 18:13:30 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-05-21 22:49:45 +0800 |
| commit | fb256d473ed33410d11be56244c565884c2f14bb (patch) | |
| tree | 728dfaf4f6d29638b638a931cf8afca4e699b98b /src/session.cpp | |
| parent | 815c3955dbd9ff7e1a427cf4bc66da38b581b178 (diff) | |
internal: prefer direct pointers instead of (uintptr_t) converted ones
Diffstat (limited to 'src/session.cpp')
| -rw-r--r-- | src/session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.cpp b/src/session.cpp index 07b89f3..d88af2f 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -196,7 +196,7 @@ bool CSession::registerSession() { log(LOG, "Client {} registered as: {}", m_ip, m_name); - g_pSessionManager->broadcast(NFormatter::fmt(NONEWLINE, "{} has joined the chat", m_name), (uintptr_t)this); + g_pSessionManager->broadcast(NFormatter::fmt(NONEWLINE, "{} has joined the chat", m_name), this); setDeaf(false); return true; |
