diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-15 23:54:13 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-15 23:54:13 -0400 |
| commit | 7f84b8b95bf28186f8cbf7bd4b307e37abb96ad2 (patch) | |
| tree | 93d3a8646e815e339af1d7f85b792158418a05c4 | |
| parent | 4dc184acea0b5ff67b5c7641ed0c65e821d2d166 (diff) | |
| download | fujinet-chat-7f84b8b95bf28186f8cbf7bd4b307e37abb96ad2.tar.gz | |
Don't send empty JOIN to the server if extra_channels not set.
| -rw-r--r-- | src/cmd.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -496,6 +496,9 @@ void cmd_rejoin_chans(void) { } } + if(!*(conf->extra_channels)) + return; + strncpy(edit_box, conf->extra_channels, 128); arg1 = edit_box; mass_join(0); |
