This commit is contained in:
Balakrishnan Balasubramanian 2022-12-26 21:51:29 -05:00
parent b2bded0d71
commit 400411cfbc

View File

@ -52,7 +52,7 @@ func main() {
glist.DataPath = dataPath glist.DataPath = dataPath
glist.DoPersist() glist.DoPersist()
log.Printf("List path starting with datapath:%s, port:%d\n", dataPath, port) log.Printf("List bot starting with datapath:%s, port:%d\n", dataPath, port)
var chats sync.Map var chats sync.Map
if err := loadData(dataPath, &chats); err != nil { if err := loadData(dataPath, &chats); err != nil {