Give ping-handler a more appropriate name
This commit is contained in:
parent
0afef8ef68
commit
5094636435
6
rowbot
6
rowbot
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue