fix: invert already sign condition
This commit is contained in:
		@ -44,7 +44,7 @@ Form& Form::operator=(const Form& src)
 | 
			
		||||
 | 
			
		||||
void Form::beSigned(const Bureaucrat &bureaucrat)
 | 
			
		||||
{
 | 
			
		||||
	if (this->_signed == false)
 | 
			
		||||
	if (this->_signed == true)
 | 
			
		||||
	{
 | 
			
		||||
		std::cout << bureaucrat.getName() << " couldn't sign " << this->_name << " because " << "the form is already sign" << std::endl;
 | 
			
		||||
		return;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user