diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-05-22 16:17:41 +0500 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-05-22 16:17:41 +0500 |
| commit | 57d2eb6472530dc52186c3b2f2cc128ede3d118f (patch) | |
| tree | c7a2a733d046c5995ec3d23a4091989b99b4351f /units/ib_common.zsh | |
| parent | 71fabcb56800205b55e8a658edfb29b5052ff461 (diff) | |
bot: Fix cache overlapping properlyv4.0-pre6
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'units/ib_common.zsh')
| -rw-r--r-- | units/ib_common.zsh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/units/ib_common.zsh b/units/ib_common.zsh index 1e8a639..a2ddfd5 100644 --- a/units/ib_common.zsh +++ b/units/ib_common.zsh @@ -45,8 +45,7 @@ fi if [[ -n "${ib_parent}" ]] then - ib_post_id="${ib_post_id} -id:${ib_post_id}" - ib_query="parent:${ib_post_id}" + ib_query="parent:${ib_post_id} -id:${ib_post_id}" elif [[ ${#ib_post_id} -eq 32 ]] then ib_query="md5:${ib_post_id}" @@ -57,5 +56,5 @@ else ib_query="id:${ib_post_id}" fi -ib_hash="$(printf "%s%s%s" "${user_id}" "${ib_board}" "${ib_post_id}" | enhash)" +ib_hash="$(printf "%s%s%s" "${user_id}" "${ib_board}" "${ib_query}" | enhash)" . "${units}/ib_file.zsh" |
