mirror of https://github.com/fluffle/goirc
Remove wrong constant in splitCommands
This commit is contained in:
parent
b619c78dfa
commit
e8eaf9285b
|
@ -95,7 +95,7 @@ func splitCommand(cmdPrefix string, args []string) []string {
|
|||
currCmd := cmdPrefix + args[i]
|
||||
i++
|
||||
|
||||
for i < len(args) && len(currCmd) < 50 {
|
||||
for i < len(args) && len(currCmd) < defaultSplit {
|
||||
currCmd += " " + args[i]
|
||||
i++
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue