mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
Fix issue with one-character args in ArgsToStrings.
This commit is contained in:
parent
c1d4c5596d
commit
2cb91bab04
2 changed files with 9 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ func ArgsToStrings(maxLength int, arguments []string, delim string) []string {
|
|||
continue
|
||||
}
|
||||
|
||||
if len(buffer) > 1 {
|
||||
if len(buffer) > 0 {
|
||||
buffer += delim
|
||||
}
|
||||
buffer += arguments[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue