Give ping-handler a more appropriate name

This commit is contained in:
Nick Chambers 2021-06-19 01:39:27 -05:00
parent 0afef8ef68
commit 5094636435
1 changed files with 2 additions and 4 deletions

6
rowbot
View File

@ -476,7 +476,7 @@ who() {
# keepalive code
###
ping-handler() {
alarm-handler() {
ping "row your bot gently down the stream"
if [[ $keep_trying = yes ]]; then
@ -485,7 +485,7 @@ ping-handler() {
fi
}
trap ping-handler ALRM
trap alarm-handler ALRM
###
# app hooks
@ -696,8 +696,6 @@ hook_post_NICK_alternick() {
# driver
###
trap ping-handler ALRM
if [[ $reload = yes ]]; then
privmsg "$RELOAD_TO" done.
else