forked from External/ergo
commit
4eaef9f772
1 changed files with 1 additions and 2 deletions
|
|
@ -120,8 +120,7 @@ func fixupNickEqualsAccount(client *Client, rb *ResponseBuffer, config *Config)
|
||||||
if !client.registered {
|
if !client.registered {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
// don't need to supply a nickname, SetNick will use the account name
|
if !performNickChange(client.server, client, client, rb.session, client.AccountName(), rb) {
|
||||||
if !performNickChange(client.server, client, client, rb.session, "", rb) {
|
|
||||||
client.server.accounts.Logout(client)
|
client.server.accounts.Logout(client)
|
||||||
nsNotice(rb, client.t("A client is already using that account; try logging out and logging back in with SASL"))
|
nsNotice(rb, client.t("A client is already using that account; try logging out and logging back in with SASL"))
|
||||||
return false
|
return false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue