diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-03-20 22:33:22 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-03-21 11:18:15 +0800 |
| commit | 45ca296a55332a4d79319f8a706f332aa8feb336 (patch) | |
| tree | 136a47b3bcd6701aac4a07ddcf0e4ebc32f180a3 /src/sessionManager.hpp | |
| parent | e970b786f9e5b9307c1113373b9c1f96eaafacf4 (diff) | |
feat(session): getIp
Diffstat (limited to 'src/sessionManager.hpp')
| -rw-r--r-- | src/sessionManager.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sessionManager.hpp b/src/sessionManager.hpp index b33a39e..a0f4389 100644 --- a/src/sessionManager.hpp +++ b/src/sessionManager.hpp @@ -22,9 +22,9 @@ class CSessionManager { bool nameExists(const std::string &name); void shutdownSessions(); - CSession *getByName(const std::string &name) const; - CSession *getByIp(const char m_ip[INET_ADDRSTRLEN]) const; - std::vector<std::shared_ptr<CSession>> getSessions() const; + CSession *getByName(const std::string &name) const; + CSession *getByIp(const char m_ip[INET_ADDRSTRLEN]) const; + std::vector<std::shared_ptr<CSession>> getSessions() const; private: void broadcastChat(const std::string &msg, const std::string &username) const; |
