mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
fix #1075
This commit is contained in:
parent
509d3f1fdd
commit
9ed789f67c
15 changed files with 285 additions and 108 deletions
|
|
@ -106,6 +106,7 @@ type Client struct {
|
|||
requireSASLMessage string
|
||||
requireSASL bool
|
||||
registered bool
|
||||
registerCmdSent bool // already sent the draft/register command, can't send it again
|
||||
registrationTimer *time.Timer
|
||||
resumeID string
|
||||
server *Server
|
||||
|
|
@ -441,7 +442,7 @@ func (server *Server) AddAlwaysOnClient(account ClientAccount, chnames []string,
|
|||
|
||||
client.resizeHistory(config)
|
||||
|
||||
_, err, _ := server.clients.SetNick(client, nil, account.Name)
|
||||
_, err, _ := server.clients.SetNick(client, nil, account.Name, false)
|
||||
if err != nil {
|
||||
server.logger.Error("internal", "could not establish always-on client", account.Name, err.Error())
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue