process()) { while($rec = $rs->next()) { if(ChatServer::userInRole($rec['userid'], ROLE_ADMIN)) { $open = true; break; } } } } ?>