forked from External/ergo
fix timestamp syntax in MARKREAD
This commit is contained in:
parent
67b2f4ccd2
commit
c3d4be45f1
2 changed files with 4 additions and 3 deletions
|
|
@ -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 "*"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue