summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/command.go4
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 == "" {