fix typo where == was used to compare in a db query
@@ -109,7 +109,7 @@ class Database(commands.Cog):
return await self.db.fetchrow('SELECT * FROM items WHERE uid = $1 AND LOWER(name) = LOWER($2)', uid, name)
async def mass_fetch_item(self, name):
- return await self.db.fetch('SELECT * FROM items WHERE LOWER(name) == LOWER($1)', name)
+ return await self.db.fetch('SELECT * FROM items WHERE LOWER(name) = LOWER($1)', name)
async def add_item(self, uid, name, sell_price, amount):
prev = await self.fetch_item(uid, name)
