summaryrefslogtreecommitdiffstats
path: root/src/server/UserInfo.cpp
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2020-12-13 18:39:20 +0000
committerJoursoir <chat@joursoir.net>2020-12-13 18:43:07 +0000
commita5d15a716f6e7e21a67529478f77851d15defe09 (patch)
treed7367c2348da277cde02224b7e32ea05579915ea /src/server/UserInfo.cpp
parentf27143165f1f3c2e47aaa65c4da24875e1639ceb (diff)
downloadwant-chat-a5d15a716f6e7e21a67529478f77851d15defe09.tar.gz
want-chat-a5d15a716f6e7e21a67529478f77851d15defe09.tar.bz2
want-chat-a5d15a716f6e7e21a67529478f77851d15defe09.zip
changes in work spec-symbols have done; server: send info about online and players
Diffstat (limited to 'src/server/UserInfo.cpp')
-rw-r--r--src/server/UserInfo.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/server/UserInfo.cpp b/src/server/UserInfo.cpp
index e0239eb..27a6aa2 100644
--- a/src/server/UserInfo.cpp
+++ b/src/server/UserInfo.cpp
@@ -2,7 +2,7 @@
void UserInfo::SetRoom(ChatRoom *new_master)
{
- this->the_master = new_master;
+ the_master = new_master;
}
const char *UserInfo::GetName() const
@@ -29,3 +29,8 @@ void UserInfo::SetStatus(const enum_status n_status)
{
state = n_status;
}
+
+void UserInfo::SetUserList(int list)
+{
+ u_list = list;
+}