Limit Guests users

This commit is contained in:
Albert Medela
2016-07-07 20:36:02 +02:00
parent b6763bcfe8
commit 724d30e61f
7 changed files with 1955 additions and 3136 deletions
-16
View File
@@ -39,7 +39,6 @@ using namespace std;
SessionManager::SessionManager()
{
guestUsers = 0;
}
SessionManager::~SessionManager()
@@ -433,18 +432,3 @@ SessionManager::SendToAllButOneSessions(SenderHelper &sender, boost::shared_ptr<
++i;
}
}
void
SessionManager::IncrementGuest() {
guestUsers++;
}
void
SessionManager::DecrementGuest() {
guestUsers--;
}
int
SessionManager::GetGuestUsers() const {
return guestUsers;
}