Fixed: inverted boolean in check for enabled anon user

Bu işleme şunda yer alıyor:
Albert S. 2019-05-03 23:26:08 +02:00
ebeveyn 611ef12ca6
işleme b751e0ba92

Dosyayı Görüntüle

@ -94,7 +94,7 @@ int main(int argc, char **argv)
{ {
throw std::runtime_error("No such anon user in database"); 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"); throw std::runtime_error("Anon user cannot be enabled");
} }