mirror of
https://github.com/fluffle/goirc
synced 2025-07-04 04:19:23 +00:00
Revert "Merge branch 'master' into release"
This reverts commit2528d13314
, reversing changes made tof0a9246c7a
.
This commit is contained in:
parent
2528d13314
commit
1849d886d4
3 changed files with 4 additions and 4 deletions
|
@ -49,7 +49,7 @@ func parseLine(s string) *Line {
|
|||
|
||||
// now we're here, we've parsed a :nick!user@host or :server off
|
||||
// s should contain "cmd args[] :text"
|
||||
args := strings.SplitN(s, " :", 2)
|
||||
args := strings.Split(s, " :", 2)
|
||||
if len(args) > 1 {
|
||||
args = append(strings.Fields(args[0]), args[1])
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue