Added back the 'method not found' part.

As this will also be the error message if you do /bot1231:23123/fooBarXYZ, this should still keep the 'method not found' part.
This commit is contained in:
luckydonald 2021-01-21 15:16:58 +01:00
parent 7e86d31953
commit a497ebc544
1 changed files with 1 additions and 1 deletions

View File

@ -6575,7 +6575,7 @@ void Client::on_cmd(PromisedQueryPtr query) {
} else if (query->method() == "registeruser" && parameters_->allow_users_registration_) {
return process_register_user_query(query);
} else {
return fail_query(404, "Not Found: login not yet completed", std::move(query));
return fail_query(404, "Not Found: method not found or login not yet completed", std::move(query));
}
}