Fix miscellaneous bugs

This commit is contained in:
Nick Chambers 2021-07-19 17:06:24 -05:00
parent 177995d8a5
commit ad2c227a38
1 changed files with 2 additions and 2 deletions

4
rowbot
View File

@ -408,7 +408,7 @@ on_sys_exit_998_net() {
else
log_info "rowbot is closing the connection to ircs://%s:%s" "${config[server]}" "${config[port]}"
if [[ -v tls_pid ]]; then
if [[ -v tls_pid ]] && is_running "$tls_pid"; then
kill -STOP "$tls_pid"
fi
@ -587,7 +587,7 @@ irc_on_004() {
}
irc_on_005() {
log_debug "received inotify specs"
log_debug "received inotify specification: ${msg_args[*]}"
}
irc_on_250() {