From e5a872fe6c31a878fb8ed23a5948f8fb5a316d81 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 11 Sep 2025 15:26:41 +0200 Subject: [PATCH] Fix renaming logging "forgetting" old name. --- ircplom/client_tui.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ircplom/client_tui.py b/ircplom/client_tui.py index 8fea54b..98ff459 100644 --- a/ircplom/client_tui.py +++ b/ircplom/client_tui.py @@ -232,10 +232,11 @@ class _UpdatingUser(_UpdatingNode, NickUserHost): return super().set_and_check_for_change(update) if super().set_and_check_for_change(update): scope = self._scope(update.path) - msg = f'RAW:{self} ' + msg = f'RAW: ' if update.path[-1] == 'nick': - return scope, msg + f'renames {update.value}' + return scope, msg + f'{self.prev} renames {update.value}' if update.path[-1] == 'exit_msg' and update.value: + msg += f'{self}' msg += 'quits' if update.value[0] == 'Q' else 'parts' if len(update.value) > 1: msg += ': ' + update.value[1:] -- 2.30.2