Change handler allow_once syntax to work without parentheses

This commit is contained in:
Ben
2019-06-21 01:39:25 +01:00
parent 8b0ff4e944
commit 67476e7c10
6 changed files with 10 additions and 10 deletions

View File

@@ -3,6 +3,6 @@ from houdini.handlers import XTPacket
@handlers.handler(XTPacket('i', 'gi'))
@handlers.allow_once()
@handlers.allow_once
async def handle_get_inventory(p):
await p.send_xt('gi', *p.data.inventory.keys())