1
0
Fork 0
forked from External/ergo

fix timestamp syntax in MARKREAD

This commit is contained in:
Shivaram Lingamneni 2022-05-20 01:32:39 -04:00
parent 67b2f4ccd2
commit c3d4be45f1
2 changed files with 4 additions and 3 deletions

View file

@ -4,6 +4,7 @@
package irc
import (
"fmt"
"net"
"sync/atomic"
"time"
@ -493,7 +494,7 @@ func (client *Client) GetReadMarker(cfname string) (result string) {
t, ok := client.readMarkers[cfname]
client.stateMutex.RUnlock()
if ok {
return t.Format(IRCv3TimestampFormat)
return fmt.Sprintf("timestamp=%s", t.Format(IRCv3TimestampFormat))
}
return "*"
}