.BANCHO. .FIX. Fix ip log function
This commit is contained in:
parent
fcadb326ac
commit
fae1ecf255
|
@ -285,7 +285,7 @@ def logIP(userID, ip):
|
||||||
User IP log
|
User IP log
|
||||||
USED FOR MULTIACCOUNT DETECTION
|
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])
|
ON DUPLICATE KEY UPDATE occurencies = occurencies + 1""", [userID, ip])
|
||||||
|
|
||||||
def saveBanchoSession(userID, ip):
|
def saveBanchoSession(userID, ip):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user