feat: add support for JOIN 0 to leave all channels

https://www.rfc-editor.org/rfc/rfc2812.html#section-3.2.1
This commit is contained in:
Ildikó Cseri 2025-06-29 22:33:00 +02:00
commit cbafe8bc92
3 changed files with 18 additions and 2 deletions

View file

@ -13,7 +13,7 @@
%9Description:%9
Joins the given channels.
Joins the given channels, or use `JOIN 0` to leave all currently joined channels.
%9Examples:%9
@ -21,6 +21,7 @@
/JOIN #basementcat secret_lair
/JOIN -invite
/JOIN -liberachat #github,#libera,#irssi
/JOIN 0
%9See also:%9 KICK, PART