mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
n3x saves the day again
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user