go fmt
This commit is contained in:
parent
360ce5b72d
commit
cd3eacdbfc
@ -1666,7 +1666,7 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error {
|
|||||||
}
|
}
|
||||||
remaining -= len(buf)
|
remaining -= len(buf)
|
||||||
year, month, day := timestamp.Date()
|
year, month, day := timestamp.Date()
|
||||||
timestamp = time.Date(year, month, day + 1, 0, 0, 0, 0, timestamp.Location())
|
timestamp = time.Date(year, month, day+1, 0, 0, 0, 0, timestamp.Location())
|
||||||
}
|
}
|
||||||
|
|
||||||
dc.SendMessage(&irc.Message{
|
dc.SendMessage(&irc.Message{
|
||||||
|
@ -160,7 +160,7 @@ func parseMessage(line, entity string, ref time.Time) (*irc.Message, time.Time,
|
|||||||
Tags: map[string]irc.TagValue{
|
Tags: map[string]irc.TagValue{
|
||||||
"time": irc.TagValue(t.UTC().Format(serverTimeLayout)),
|
"time": irc.TagValue(t.UTC().Format(serverTimeLayout)),
|
||||||
},
|
},
|
||||||
Prefix: &irc.Prefix{Name: sender},
|
Prefix: &irc.Prefix{Name: sender},
|
||||||
Command: "PRIVMSG",
|
Command: "PRIVMSG",
|
||||||
Params: []string{entity, text},
|
Params: []string{entity, text},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user