Room change, room list with flags
This commit is contained in:
1
server.h
1
server.h
@@ -18,6 +18,7 @@ namespace Yc {
|
||||
std::vector<std::string> roomList();
|
||||
Json::Value jsonRoomList();
|
||||
bool roomAllowed(std::string roomName, std::string userName, std::string password);
|
||||
bool changeRoom(User *user, std::string newRoom, std::string password);
|
||||
private:
|
||||
int _socket;
|
||||
Yc::Lib::Config *_config;
|
||||
|
||||
Reference in New Issue
Block a user