Implement proper nick change tracking for longest IRC line

This commit is contained in:
Nick Chambers 2021-06-16 12:27:51 -05:00
parent 847a35f4d8
commit be07fb00f5
1 changed files with 4 additions and 0 deletions

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]}"
}