fix: invert already sign condition

This commit is contained in:
Camille Chauvet 2023-09-03 11:35:30 +00:00
parent 011b79fcb6
commit 1425b1bcf3

View File

@ -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;