From 8971523d6d2c75e9dce617df2373eee6d3b2d111 Mon Sep 17 00:00:00 2001 From: PanFritz Date: Tue, 7 Jul 2015 13:04:29 +0200 Subject: [PATCH] commented out debug code --- loginsecurity.py | 2 ++ 1 file changed, 2 insertions(+) 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!"