Log nick and ssh connection in chroot-prompt

weechat-hashes
C. McEnroe 2021-05-27 15:19:33 +00:00
parent 27c967864c
commit 5e7c31b637
1 changed files with 1 additions and 0 deletions

View File

@ -3,4 +3,5 @@ set -eu
printf 'Name: '
read -r nick rest
printf '%s %s\n' "$nick" "${SSH_CLIENT:-}" >>nicks.log
exec catgirl -n "$nick" -s "$nick" "$@"