mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-12 02:32:10 +00:00
runtime fix
This commit is contained in:
@@ -14,7 +14,9 @@
|
|||||||
/datum/netdata/proc/pre_send(datum/component/ntnet_interface/interface)
|
/datum/netdata/proc/pre_send(datum/component/ntnet_interface/interface)
|
||||||
// Decrypt the passkey.
|
// Decrypt the passkey.
|
||||||
if(encrypted_passkey && !passkey)
|
if(encrypted_passkey && !passkey)
|
||||||
passkey = json_decode(XorEncrypt(hextostr(encrypted_passkey, TRUE), SScircuit.cipherkey))
|
var/result = XorEncrypt(hextostr(encrypted_passkey, TRUE), SScircuit.cipherkey)
|
||||||
|
if(length(result) > 1)
|
||||||
|
passkey = json_decode(XorEncrypt(hextostr(encrypted_passkey, TRUE), SScircuit.cipherkey))
|
||||||
|
|
||||||
// Encrypt the passkey.
|
// Encrypt the passkey.
|
||||||
if(!encrypted_passkey && passkey)
|
if(!encrypted_passkey && passkey)
|
||||||
|
|||||||
Reference in New Issue
Block a user