commented out debug code
This commit is contained in:
@@ -63,11 +63,13 @@ def register_command(sender, command, label, args):
|
|||||||
return "&cPassword can only be one word!"
|
return "&cPassword can only be one word!"
|
||||||
uuid = str(uid(sender))
|
uuid = str(uid(sender))
|
||||||
######################### - delete after testing
|
######################### - delete after testing
|
||||||
|
"""
|
||||||
conn = zxJDBC.connect(mysql_database, mysql_user, mysql_pass, "com.mysql.jdbc.Driver")
|
conn = zxJDBC.connect(mysql_database, mysql_user, mysql_pass, "com.mysql.jdbc.Driver")
|
||||||
curs = conn.cursor()
|
curs = conn.cursor()
|
||||||
curs.execute("SELECT EXISTS(SELECT * FROM secret WHERE 'uuid' = ?)",(uuid,))
|
curs.execute("SELECT EXISTS(SELECT * FROM secret WHERE 'uuid' = ?)",(uuid,))
|
||||||
results = curs.fetchall()
|
results = curs.fetchall()
|
||||||
print results[0][0]
|
print results[0][0]
|
||||||
|
"""
|
||||||
#########################
|
#########################
|
||||||
if is_registered(uuid):
|
if is_registered(uuid):
|
||||||
return "&cYou are already registered!"
|
return "&cYou are already registered!"
|
||||||
|
|||||||
Reference in New Issue
Block a user