diff --git a/rowbot b/rowbot index 0f3d047..4b097cd 100755 --- a/rowbot +++ b/rowbot @@ -692,10 +692,18 @@ irc_on_473() { log_error "%s: %s" "${msg_args[1]}" "${msg_args[2]}" } +irc_on_718() { + log_info "%s %s" "${msg_args[1]}" "${msg_args[-1]}" +} + ### # irc send handlers ### +irc_accept() { + net_send "ACCEPT $1" +} + irc_join() { local chans printf -v chans %s, "$@" @@ -1053,6 +1061,7 @@ on_register_mode_getter() { fi irc_mode "${config[modes]}" + irc_accept "${config[owner]}" } ###