diff --git a/downstream.go b/downstream.go index af6b55e..67b6d68 100644 --- a/downstream.go +++ b/downstream.go @@ -1666,7 +1666,7 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error { } remaining -= len(buf) 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{ diff --git a/logger.go b/logger.go index 517b09f..db35e44 100644 --- a/logger.go +++ b/logger.go @@ -160,7 +160,7 @@ func parseMessage(line, entity string, ref time.Time) (*irc.Message, time.Time, Tags: map[string]irc.TagValue{ "time": irc.TagValue(t.UTC().Format(serverTimeLayout)), }, - Prefix: &irc.Prefix{Name: sender}, + Prefix: &irc.Prefix{Name: sender}, Command: "PRIVMSG", Params: []string{entity, text}, }