.BANCHO. .FIX. Fix ip log function

This commit is contained in:
Nyo 2016-07-30 15:33:57 +02:00
parent fcadb326ac
commit fae1ecf255
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ def logIP(userID, ip):
User IP log
USED FOR MULTIACCOUNT DETECTION
"""
glob.db.execute("""INSERT INTO ip_user (userid, ip, occurencies) VALUES (%s, %s, '1')
glob.db.execute("""INSERT INTO ip_user (userid, ip, occurencies) VALUES (%s, %s, 1)
ON DUPLICATE KEY UPDATE occurencies = occurencies + 1""", [userID, ip])
def saveBanchoSession(userID, ip):