Commit 2cf6f4f0 authored by Jens Reidel's avatar Jens Reidel

Backport fix

parent 1a1ae70d
Pipeline #1687 passed with stage
in 18 seconds
......@@ -511,6 +511,8 @@ class Trading(commands.Cog):
" meantime."
).format(itemid=itemid)
)
if item["original_name"] or item["original_type"]:
return await ctx.send(_("You may not sell donator-modified items."))
await conn.execute(
"UPDATE allitems SET owner=$1 WHERE id=$2;", user.id, itemid
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment