Skip to content

Commit

Permalink
mod_admin_telnet: reshow the prompt at each wrong attempt.
Browse files Browse the repository at this point in the history
  • Loading branch information
maranda committed Apr 23, 2020
1 parent d8e80d7 commit de9f600
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/mod_admin_telnet.lua
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ function console_listener.onincoming(conn, data)
commands.bye(session, "Too many wrong login attempts, have a nice day! ;)");
else
session.print(wrong_password[rand(1,4)]);
session.print("Please insert the console password:");
end
break;
end
Expand Down

0 comments on commit de9f600

Please sign in to comment.