forked from External/ergo
commit
c4c4ec027e
1 changed files with 1 additions and 1 deletions
|
|
@ -1763,7 +1763,7 @@ func (am *AccountManager) applyVHostInfo(client *Client, info VHostInfo) {
|
||||||
}
|
}
|
||||||
oldNickmask := client.NickMaskString()
|
oldNickmask := client.NickMaskString()
|
||||||
updated := client.SetVHost(vhost)
|
updated := client.SetVHost(vhost)
|
||||||
if updated {
|
if updated && client.Registered() {
|
||||||
// TODO: doing I/O here is kind of a kludge
|
// TODO: doing I/O here is kind of a kludge
|
||||||
client.sendChghost(oldNickmask, client.Hostname())
|
client.sendChghost(oldNickmask, client.Hostname())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue