From 09bcc687bc1538eb7386d19d444212079ea93b0d Mon Sep 17 00:00:00 2001 From: NEMESIS13cz Date: Mon, 10 Aug 2015 19:33:04 +0200 Subject: [PATCH] Removed unused stuff --- loginsecurity.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/loginsecurity.py b/loginsecurity.py index fc7ef1d..fd47e3e 100644 --- a/loginsecurity.py +++ b/loginsecurity.py @@ -17,8 +17,6 @@ blocked_events = ["block.BlockBreakEvent", "block.BlockPlaceEvent", "player.Play logging_in = {} -matches_bool = False - def matches(password,user): thread = threading.Thread(target=matches_thread, args = (password,user)) thread.start() @@ -59,9 +57,6 @@ def change_pass_command(sender, command, label, args): def login_command(sender, command, label, args): password = args[0] matches(password, sender) - #del logging_in[sender.getName()] - #return "&aLogged in successfully!" - #return "&cInvalid password" @simplecommand("register", usage = "", @@ -71,7 +66,7 @@ def login_command(sender, command, label, args): def register_command(sender, command, label, args): if len(args) > 1: return "&cPassword can only be one word!" - uuid = str(uid(sender)) + uuid = uid(sender) if is_registered(uuid): return "&cYou are already registered!" password = args[0]