Add a handler for command 396
This commit is contained in:
parent
dd693d1127
commit
ac81f2400f
9
rowbot
9
rowbot
|
@ -458,6 +458,11 @@ on_msg_354_privmagic() {
|
|||
fi
|
||||
}
|
||||
|
||||
on_msg_396_privmagic() {
|
||||
config[host]=${msg_args[1]}
|
||||
log_debug "config host has been changed to %s" "${msg_args[1]}"
|
||||
}
|
||||
|
||||
###
|
||||
# irc receive handlers
|
||||
###
|
||||
|
@ -616,6 +621,10 @@ irc_on_376() {
|
|||
log_debug %s "${msg_args[1]}"
|
||||
}
|
||||
|
||||
irc_on_396() {
|
||||
log_info "%s %s" "${msg_args[1]}" "${msg_args[-1]}"
|
||||
}
|
||||
|
||||
irc_on_433() {
|
||||
log_info "somebody is already using %s" "${msg_args[1]}"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue