n3x saves the day again

This commit is contained in:
d3athrow
2014-04-04 01:11:31 -05:00
parent e7b6c9bb4e
commit fbb4d2c26e

View File

@@ -118,6 +118,6 @@ you will have to do something like if(client.rights & R_ADMIN) yourself.
query.Execute()
return sessKey
query=dbcon.NewQuery("INSERT INTO admin_sessions (sessID,ckey,expires, IP) VALUES (UUID(), '[owner.ckey]', DATE_ADD(NOW(), INTERVAL 2 HOUR)), '[owner.address]'")
query=dbcon.NewQuery("INSERT INTO admin_sessions (sessID,ckey,expires, IP) VALUES (UUID(), '[owner.ckey]', DATE_ADD(NOW(), INTERVAL 2 HOUR), '[owner.address]')")
query.Execute()
return checkSessionKey(recurse)