diff options
author | PanFritz <redstonenoobpan@gmail.com> | 2015-07-07 13:04:29 +0200 |
---|---|---|
committer | PanFritz <redstonenoobpan@gmail.com> | 2015-07-07 13:04:29 +0200 |
commit | 8971523d6d2c75e9dce617df2373eee6d3b2d111 (patch) | |
tree | af5319c7b52eca091f8ca9cb0917f73aa0f76764 /loginsecurity.py | |
parent | dac228800c600db84ff4bc89c407f144c2e463a0 (diff) |
commented out debug code
Diffstat (limited to 'loginsecurity.py')
-rw-r--r-- | loginsecurity.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/loginsecurity.py b/loginsecurity.py index 0a9975a..6c59d60 100644 --- a/loginsecurity.py +++ b/loginsecurity.py @@ -63,11 +63,13 @@ def register_command(sender, command, label, args): return "&cPassword can only be one word!" uuid = str(uid(sender)) ######################### - delete after testing + """ conn = zxJDBC.connect(mysql_database, mysql_user, mysql_pass, "com.mysql.jdbc.Driver") curs = conn.cursor() curs.execute("SELECT EXISTS(SELECT * FROM secret WHERE 'uuid' = ?)",(uuid,)) results = curs.fetchall() print results[0][0] + """ ######################### if is_registered(uuid): return "&cYou are already registered!" |