From 16961d17db279fcd9376417066e11cf2a28b547d Mon Sep 17 00:00:00 2001 From: raven Date: Wed, 22 Oct 2025 19:38:31 -0500 Subject: require authentication to create channel --- client/command.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client/command.go') 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 == "" { -- cgit v1.2.3