[MIRROR] makes radios use paths instead of new [MDB IGNORE] (#16607)

* makes radios use paths instead of new (#70252)

* makes radios initialize in Initialize instead of init()

* makes radios use paths instead of new

Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-10-03 16:02:27 +01:00
committed by GitHub
co-authored by Fikou
parent d303676811
commit 33a025b3f5
6 changed files with 59 additions and 148 deletions
+1 -1
View File
@@ -178,7 +178,7 @@
log_silicon("[key_name(user)] removed the [channel] radio channel from [key_name(borg)].")
else // We're adding a channel
if (!borg.radio.keyslot) // Assert that an encryption key exists
borg.radio.keyslot = new (borg.radio)
borg.radio.keyslot = new()
borg.radio.keyslot.channels[channel] = 1
if (channel == RADIO_CHANNEL_SYNDICATE)
borg.radio.keyslot.syndie = TRUE