From 7dae9fd76d6f32850cb2e471a508edec192399b5 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Tue, 2 Sep 2025 11:47:26 +0200 Subject: [PATCH] From inside channel window allow re-join with mere /join sans args. --- ircplom/client_tui.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ircplom/client_tui.py b/ircplom/client_tui.py index 2961f6e..b506d75 100644 --- a/ircplom/client_tui.py +++ b/ircplom/client_tui.py @@ -181,8 +181,11 @@ class _ChatWindow(_ClientWindow): class _ChannelWindow(_ChatWindow): + def cmd__join(self, channel='') -> None: + super().cmd__join(channel if channel else self.chatname) + def cmd__part(self) -> None: - 'Attempt joining a channel.' + 'Attempt parting channel.' self._send_msg('PART', (self.chatname,)) -- 2.30.2