Fix the condition for skipping handlers
This commit is contained in:
parent
8cfdeb5a99
commit
1366f4978f
4
rowbot
4
rowbot
|
@ -666,9 +666,9 @@ while net_recv line; do
|
||||||
|
|
||||||
if has irc_on_"${msg[cmd]}"; then
|
if has irc_on_"${msg[cmd]}"; then
|
||||||
if run_callbacks "on_msg_${msg[cmd]}_"; then
|
if run_callbacks "on_msg_${msg[cmd]}_"; then
|
||||||
log_debug "handler for %s was skipped" "${msg[cmd]}"
|
|
||||||
else
|
|
||||||
irc_on_"${msg[cmd]}"
|
irc_on_"${msg[cmd]}"
|
||||||
|
else
|
||||||
|
log_debug "handler for %s was skipped" "${msg[cmd]}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
run_callbacks "on_late_msg_${msg[cmd]}_"
|
run_callbacks "on_late_msg_${msg[cmd]}_"
|
||||||
|
|
Loading…
Reference in New Issue