diff --git a/util.lua b/util.lua index 54f2314..1aefe9d 100644 --- a/util.lua +++ b/util.lua @@ -88,6 +88,7 @@ function util.destroy_avatar(avatar_id) else f:close() os.remove(file_path) + avatar:delete() end end