mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-29 07:29:31 +01:00
add missing initialization for writerSemaphore
It was only initialized for always-on clients, not for regular clients. This explains a lot in terms of #812 failing to reproduce.
This commit is contained in:
parent
a74450d6ca
commit
c0192e0e52
@ -263,6 +263,7 @@ func (server *Server) RunClient(conn clientConn, proxyLine string) {
|
|||||||
nickCasefolded: "*",
|
nickCasefolded: "*",
|
||||||
nickMaskString: "*", // * is used until actual nick is given
|
nickMaskString: "*", // * is used until actual nick is given
|
||||||
}
|
}
|
||||||
|
client.writerSemaphore.Initialize(1)
|
||||||
client.history.Initialize(config.History.ClientLength, config.History.AutoresizeWindow)
|
client.history.Initialize(config.History.ClientLength, config.History.AutoresizeWindow)
|
||||||
client.brbTimer.Initialize(client)
|
client.brbTimer.Initialize(client)
|
||||||
session := &Session{
|
session := &Session{
|
||||||
|
Loading…
Reference in New Issue
Block a user