Changed default filename drom default.png to default.

This commit is contained in:
tastytea 2018-11-25 06:32:26 +01:00
parent f550b7b048
commit 8f0baeb028
Signed by untrusted user: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -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";