Skip to content

Commit

Permalink
change log tag to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
talkkonnect committed Mar 5, 2022
1 parent c305657 commit 50d2f98
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions clientcommands.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,10 @@ func (b *Talkkonnect) ListChannels(verbose bool) {
b.findChannelDetailsByID(uint32(cid), counter)
counter++
}

for i := 0; i < len(b.Client.Channels); i++ {
log.Println(ChannelsList[i])
if verbose {
for i := 0; i < len(b.Client.Channels); i++ {
log.Println("debug: ", ChannelsList[i])
}
}
}

Expand Down Expand Up @@ -423,8 +424,6 @@ func (b *Talkkonnect) Scan() {
return
}

// b.ListChannels(false)

if b.Client.Self.Channel.ID+1 > maxchannelid {
prevChannelID = 0
channel := b.Client.Channels[prevChannelID]
Expand Down

0 comments on commit 50d2f98

Please sign in to comment.