mirror of
https://github.com/Kyren223/eko.git
synced 2026-05-04 18:54:41 +00:00
Fixed bug where TOS and privacy policy would be stored as a []byte
instead of a string which would cause inconsistency in atomics
This commit is contained in:
@@ -183,8 +183,8 @@ func reloadTosAndPrivacy() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
embeds.TermsOfService.Store(tos)
|
||||
embeds.PrivacyPolicy.Store(privacy)
|
||||
embeds.TermsOfService.Store(string(tos))
|
||||
embeds.PrivacyPolicy.Store(string(privacy))
|
||||
embeds.TosPrivacyHash.Store(hash)
|
||||
|
||||
if oldHash == "" {
|
||||
|
||||
Reference in New Issue
Block a user