summaryrefslogtreecommitdiff
path: root/src/sessionManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sessionManager.hpp')
-rw-r--r--src/sessionManager.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sessionManager.hpp b/src/sessionManager.hpp
index 70faa58..b33a39e 100644
--- a/src/sessionManager.hpp
+++ b/src/sessionManager.hpp
@@ -24,6 +24,7 @@ class CSessionManager {
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;