diff options
Diffstat (limited to 'src/server/UserInfo.cpp')
-rw-r--r-- | src/server/UserInfo.cpp | 7 |
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; +} |