diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-08-18 10:37:04 +0500 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-08-18 10:37:04 +0500 |
| commit | 3ad5cb37977fab543ea563ee2490c034dece5a4f (patch) | |
| tree | d8a10183c040faef843a1c5339367b91291b606f /units/ib_common.zsh | |
| parent | 817083e91c182beb2492c7e00e501c8825665df4 (diff) | |
units/ib_common: Fix parent implementation
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'units/ib_common.zsh')
| -rw-r--r-- | units/ib_common.zsh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/units/ib_common.zsh b/units/ib_common.zsh index 6d5e686..af6bc5d 100644 --- a/units/ib_common.zsh +++ b/units/ib_common.zsh @@ -20,10 +20,6 @@ then fi shift -elif [[ -n "${ib_parent}" ]] -then - output_text="You must specify the Image Board and the parent post ID" - return 0 else output_title="Invalid arguments" output_text="You must specify the Image Board and the post ID or the MD5 hash" @@ -49,7 +45,7 @@ fi if [[ -n "${ib_parent}" ]] then - ib_query="parent:${ib_post_id} -id:${ib_post_id}" + ib_query="parent:${ib_post_id}" elif [[ ${#ib_post_id} -eq 32 ]] then ib_query="md5:${ib_post_id}" |
