mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
get rid of useless assignment
This commit is contained in:
parent
63a46498ce
commit
f32df20a83
@ -81,7 +81,7 @@ func (target *Client) MultilineReply(names []string, code NumericCode, format st
|
|||||||
for to < len(names) {
|
for to < len(names) {
|
||||||
if (from < (to - 1)) && tooLong(names[from:to]) {
|
if (from < (to - 1)) && tooLong(names[from:to]) {
|
||||||
target.NumericReply(code, format, argsAndNames(names[from:to-1])...)
|
target.NumericReply(code, format, argsAndNames(names[from:to-1])...)
|
||||||
from, to = to-1, to
|
from = to - 1
|
||||||
} else {
|
} else {
|
||||||
to += 1
|
to += 1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user