We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fd5f08 commit faa6e9eCopy full SHA for faa6e9e
pkg/webircgateway/client.go
@@ -115,10 +115,10 @@ func NewClient(gateway *Gateway) *Client {
115
// Add to the clients maps and wait until everything has been marked
116
// as completed (several routines add themselves to EndWG so that we can catch
117
// when they are all completed)
118
- gateway.Clients.Set(string(c.Id), c)
+ gateway.Clients.Set(strconv.FormatUint(c.Id, 10), c)
119
go func() {
120
c.EndWG.Wait()
121
- gateway.Clients.Remove(string(c.Id))
+ gateway.Clients.Remove(strconv.FormatUint(c.Id, 10))
122
123
hook := &HookClientState{
124
Client: c,
0 commit comments