diff options
author | NEMESIS13cz <seke94@seznam.cz> | 2015-08-10 19:33:04 +0200 |
---|---|---|
committer | NEMESIS13cz <seke94@seznam.cz> | 2015-08-10 19:33:04 +0200 |
commit | 09bcc687bc1538eb7386d19d444212079ea93b0d (patch) | |
tree | 2a8a283048b8e91b69165c7b2aaa3a1ba44528c1 /loginsecurity.py | |
parent | 3500eabde805fff50f59d7f0e090e442668e8a54 (diff) |
Removed unused stuff
Diffstat (limited to 'loginsecurity.py')
-rw-r--r-- | loginsecurity.py | 7 |
1 files changed, 1 insertions, 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 = "<password>", @@ -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] |