Reworked system/member property commands, fixed help system and bounds checking on tags

This commit is contained in:
Ske 2018-07-14 00:05:37 +02:00
parent ea92569d26
commit 800f537b80
4 changed files with 162 additions and 208 deletions

View file

@ -131,7 +131,7 @@ async def get_all_members(conn, system_id: int):
@db_wrap
async def get_members_exceeding(conn, system_id: int, length: int):
return await conn.fetch("select * from members where system = $1 and length(name) >= $2", system_id, length)
return await conn.fetch("select * from members where system = $1 and length(name) > $2", system_id, length)
@db_wrap