diff options
Diffstat (limited to 'src/session.cpp')
| -rw-r--r-- | src/session.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/session.cpp b/src/session.cpp index 05d6873..9668cd8 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -204,6 +204,10 @@ const std::string &CSession::getName() const { return m_name; } +const char *CSession::getIp() const { + return m_ip; +} + void CSession::setSelf(std::pair<std::jthread, std::shared_ptr<CSession>> *self) { this->self = self; } |
