mirror of
https://github.com/solero/houdini.git
synced 2026-01-03 02:12:41 +00:00
Change handler allow_once syntax to work without parentheses
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user