mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-25 21:39:25 +01:00
commit
c4c4ec027e
@ -1763,7 +1763,7 @@ func (am *AccountManager) applyVHostInfo(client *Client, info VHostInfo) {
|
||||
}
|
||||
oldNickmask := client.NickMaskString()
|
||||
updated := client.SetVHost(vhost)
|
||||
if updated {
|
||||
if updated && client.Registered() {
|
||||
// TODO: doing I/O here is kind of a kludge
|
||||
client.sendChghost(oldNickmask, client.Hostname())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user