Skip to content

Commit

Permalink
Fix title in main menu when main_menu function is hooked as override …
Browse files Browse the repository at this point in the history
…from a plugin
  • Loading branch information
v1s1t0r1sh3r3 committed Oct 16, 2024
1 parent dc812db commit df50113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airgeddon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ function generate_dynamic_line() {

local type=${2}
if [ "${type}" = "title" ]; then
if [ "${FUNCNAME[2]}" = "main_menu" ]; then
if [[ "${FUNCNAME[2]}" = "main_menu" ]] || [[ "${FUNCNAME[2]}" = "main_menu_override" ]]; then
ncharstitle=91
else
ncharstitle=78
Expand Down

0 comments on commit df50113

Please sign in to comment.