1
0
Fork 0
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:
Stefano 2022-03-09 17:39:03 +01:00
parent b619c78dfa
commit e8eaf9285b

View file

@ -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++
}