mirror of
https://github.com/solero/houdini.git
synced 2024-12-23 14:03:38 +00:00
Remove test handler from login module
This commit is contained in:
parent
24f3be3aa5
commit
ce4603d496
@ -1,15 +1,9 @@
|
||||
from Houdini import Handlers
|
||||
from Houdini.Handlers import XTPacket, XMLPacket
|
||||
from Houdini.Converters import CredentialsConverter, CommaConverter
|
||||
from Houdini.Handlers import XMLPacket
|
||||
from Houdini.Converters import CredentialsConverter
|
||||
|
||||
|
||||
@Handlers.handler(XMLPacket('login'))
|
||||
async def handle_login(p, credentials: CredentialsConverter):
|
||||
username, password = credentials
|
||||
p.logger.info('{}:{} is logging in!'.format(username, password))
|
||||
|
||||
|
||||
@Handlers.handler(XTPacket('t', 'c'), pre_login=True)
|
||||
@Handlers.player_in_room(100)
|
||||
async def handle_test(p, numbers: CommaConverter):
|
||||
print(list(numbers))
|
||||
|
Loading…
Reference in New Issue
Block a user