mirror of
https://github.com/fluffle/goirc
synced 2025-05-15 12:03:21 +00:00
Remove wrong constant in splitCommands
This commit is contained in:
parent
b619c78dfa
commit
e8eaf9285b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue