From ce4603d49689d641914d863281630e1227b23336 Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 11 Apr 2019 01:32:10 +0100 Subject: [PATCH] Remove test handler from login module --- Houdini/Handlers/Login/Login.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Houdini/Handlers/Login/Login.py b/Houdini/Handlers/Login/Login.py index 5a916d4..5b46bcf 100644 --- a/Houdini/Handlers/Login/Login.py +++ b/Houdini/Handlers/Login/Login.py @@ -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))