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
|
# keepalive code
|
||||||
###
|
###
|
||||||
|
|
||||||
ping-handler() {
|
alarm-handler() {
|
||||||
ping "row your bot gently down the stream"
|
ping "row your bot gently down the stream"
|
||||||
|
|
||||||
if [[ $keep_trying = yes ]]; then
|
if [[ $keep_trying = yes ]]; then
|
||||||
|
@ -485,7 +485,7 @@ ping-handler() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
trap ping-handler ALRM
|
trap alarm-handler ALRM
|
||||||
|
|
||||||
###
|
###
|
||||||
# app hooks
|
# app hooks
|
||||||
|
@ -696,8 +696,6 @@ hook_post_NICK_alternick() {
|
||||||
# driver
|
# driver
|
||||||
###
|
###
|
||||||
|
|
||||||
trap ping-handler ALRM
|
|
||||||
|
|
||||||
if [[ $reload = yes ]]; then
|
if [[ $reload = yes ]]; then
|
||||||
privmsg "$RELOAD_TO" done.
|
privmsg "$RELOAD_TO" done.
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue