mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
Implement missing get_user in UserManager.
This commit is contained in:
parent
b55cb85855
commit
45af98ab18
@ -37,6 +37,10 @@ void UserManager::remove_user(User *user) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
User *UserManager::get_user(const std::string &user_name) {
|
||||||
|
return _users[user_name];
|
||||||
|
}
|
||||||
|
|
||||||
void UserManager::clear() {
|
void UserManager::clear() {
|
||||||
SessionManager *sm = SessionManager::get_singleton();
|
SessionManager *sm = SessionManager::get_singleton();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user