Implement proper nick change tracking for longest IRC line

This commit is contained in:
Nick Chambers 2021-06-16 12:27:51 -05:00 committed by Nick Chambers
parent 8c3b13fc76
commit 70f5e21437

4
rowbot
View file

@ -217,6 +217,10 @@ on_MODE() {
}
on_NICK() {
if [[ $from = $nick ]]; then
nick=${params[0]}
fi
info "%s has changed their name to %s" "$from" "${params[0]}"
}