circo

claudio's IRC oasis
git clone git://git.bitsmanent.org/circo
Log | Files | Refs | README | LICENSE

commit 075a9402346f2a4d19c9418fb4b8c338b8160718
parent 0759e67fd9d471049398bedea6ec57114bf61f0f
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Fri, 22 Oct 2021 16:50:06 +0200

Must be connected to /rejoinall

Diffstat:
Mcirco.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/circo.c b/circo.c @@ -291,6 +291,7 @@ cmd_close(char *cmd, char *s) { void cmd_exit(char *cmd, char *s) { + hangsup(); running = 0; } @@ -329,6 +330,10 @@ void cmd_rejoinall(char *cmd, char *s) { Buffer *b; + if(!srv) { + bprintf(sel, "/%s: not connected.\n", cmd); + return; + } for(b = buffers; b; b = b->next) if(ISCHAN(b)) sout("JOIN %s", b->name);