diff options
| author | raven <citrons@mondecitronne.com> | 2025-10-22 19:38:31 -0500 |
|---|---|---|
| committer | raven <citrons@mondecitronne.com> | 2026-02-09 13:14:04 -0600 |
| commit | 16961d17db279fcd9376417066e11cf2a28b547d (patch) | |
| tree | 68e316a09560adbc9a25e2a23471490cc14ba6d6 /client/command.go | |
| parent | 14fe0a31fb1fb1e9ab04dec1c18695a48ad57572 (diff) | |
require authentication to create channel
Diffstat (limited to 'client/command.go')
| -rw-r--r-- | client/command.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/command.go b/client/command.go index 59b3a8a..247a8fc 100644 --- a/client/command.go +++ b/client/command.go @@ -194,7 +194,9 @@ func (a *application) doCommand(command string, args []string, text string) { }) return case "create": - a.createChannel(text) + if a.authenticated { + a.createChannel(text) + } return case "password": if text == "" { |
