diff options
Diffstat (limited to 'commands.go')
-rw-r--r-- | commands.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/commands.go b/commands.go index 437bf77..a0cd411 100644 --- a/commands.go +++ b/commands.go @@ -197,7 +197,11 @@ func commandDoHelp(app *App, buffer string, args []string) (err error) { } func commandDoJoin(app *App, buffer string, args []string) (err error) { - app.s.Join(args[0]) + key := "" + if len(args) == 2 { + key = args[1] + } + app.s.Join(args[0], key) return } |