Skip to content

Commit db98b47

Browse files
committed
remove redundant empty check
1 parent f1300bc commit db98b47

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

message_parse.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,7 @@ func (m *Message) parseParamsAndTrailing(raw string) {
207207
m.ForcedTrailing = m.Trailing == ""
208208
}
209209

210-
params := stringFields(raw, ' ')
211-
212-
if len(params) != 0 {
213-
m.Params = params
214-
}
210+
m.Params = stringFields(raw, ' ')
215211
}
216212

217213
func isSpace(r rune) bool {

0 commit comments

Comments
 (0)