mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-05 13:10:00 +00:00
compat: initial layout of client abstraction api
This commit is contained in:
+2
-2
@@ -178,10 +178,10 @@ pfUI:RegisterModule("share", function ()
|
||||
bit_pattern = bit_pattern .. bin_bits
|
||||
end
|
||||
|
||||
if math.mod(string.len(bit_pattern), 3) == 2 then
|
||||
if mod(string.len(bit_pattern), 3) == 2 then
|
||||
trailing = '=='
|
||||
bit_pattern = bit_pattern .. '0000000000000000'
|
||||
elseif math.mod(string.len(bit_pattern), 3) == 1 then
|
||||
elseif mod(string.len(bit_pattern), 3) == 1 then
|
||||
trailing = '='
|
||||
bit_pattern = bit_pattern .. '00000000'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user