Fix server-time tags timezone
We need to use UTC time.
This commit is contained in:
parent
9692114f37
commit
13635747c4
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user