Add a handler for command 396
This commit is contained in:
parent
dd693d1127
commit
ac81f2400f
1 changed files with 9 additions and 0 deletions
9
rowbot
9
rowbot
|
@ -458,6 +458,11 @@ on_msg_354_privmagic() {
|
||||||
fi
|
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
|
# irc receive handlers
|
||||||
###
|
###
|
||||||
|
@ -616,6 +621,10 @@ irc_on_376() {
|
||||||
log_debug %s "${msg_args[1]}"
|
log_debug %s "${msg_args[1]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
irc_on_396() {
|
||||||
|
log_info "%s %s" "${msg_args[1]}" "${msg_args[-1]}"
|
||||||
|
}
|
||||||
|
|
||||||
irc_on_433() {
|
irc_on_433() {
|
||||||
log_info "somebody is already using %s" "${msg_args[1]}"
|
log_info "somebody is already using %s" "${msg_args[1]}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue