Fix server-time tags timezone

We need to use UTC time.
This commit is contained in:
Simon Ser 2020-04-06 22:05:49 +02:00
parent 9692114f37
commit 13635747c4
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -235,7 +235,7 @@ func (uc *upstreamConn) handleMessage(msg *irc.Message) error {
} }
if _, ok := msg.Tags["time"]; !ok { if _, ok := msg.Tags["time"]; !ok {
msg.Tags["time"] = irc.TagValue(time.Now().Format(serverTimeLayout)) msg.Tags["time"] = irc.TagValue(time.Now().UTC().Format(serverTimeLayout))
} }
switch msg.Command { switch msg.Command {