forked from tastytea/libravatarserv
Changed default filename drom default.png to default.
This commit is contained in:
parent
f550b7b048
commit
8f0baeb028
|
@ -31,7 +31,7 @@ const Image image::get(const string &digest, const uint16_t size)
|
|||
const auto &entry = hash::table.find(digest);
|
||||
if (entry == hash::table.end())
|
||||
{
|
||||
filename = avatar_dir / "default.png";
|
||||
filename = avatar_dir / "default";
|
||||
if (!fs::is_regular_file(filename))
|
||||
{
|
||||
cerr << "Error: User not found and no default image set.\n";
|
||||
|
|
Loading…
Reference in New Issue
Block a user