6
1
mirror of https://git.mills.io/saltyim/saltyim.git synced 2024-06-27 09:18:22 +00:00

Fix Service.String()

This commit is contained in:
James Mills 2022-03-27 12:14:04 +10:00
parent ec0e74b895
commit 2676ceab9e

@ -43,6 +43,7 @@ func (svc *Service) String() string {
defer svc.mu.RUnlock()
buf := &bytes.Buffer{}
fmt.Fprintln(buf, "Bot: ", svc.Client.me)
for k := range svc.textFns {
fmt.Fprintln(buf, " - TextCmd: ", k)
}