Fixed: inverted boolean in check for enabled anon user
This commit is contained in:
父節點
611ef12ca6
當前提交
b751e0ba92
@ -94,7 +94,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");
|
||||
}
|
||||
|
載入中…
新增問題並參考
Block a user