Fixed: inverted boolean in check for enabled anon user

Este commit está contenido en:
Albert S. 2019-05-03 23:26:08 +02:00
padre 2ee515945d
commit 5f2c6c2e0f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados

Ver fichero

@ -95,7 +95,7 @@ int main(int argc, char **argv)
{
throw std::runtime_error("No such anon user in database");
}
if(!anon->enabled)
if(anon->enabled)
{
throw std::runtime_error("Anon user cannot be enabled");
}