forked from External/ergo
fix #688
This commit is contained in:
parent
62473468f0
commit
3480f124cd
7 changed files with 118 additions and 54 deletions
|
|
@ -239,14 +239,6 @@ func (client *Client) RawHostname() (result string) {
|
|||
return
|
||||
}
|
||||
|
||||
func (client *Client) SetRawHostname(rawHostname string) {
|
||||
client.stateMutex.Lock()
|
||||
defer client.stateMutex.Unlock()
|
||||
|
||||
client.rawHostname = rawHostname
|
||||
client.updateNickMaskNoMutex()
|
||||
}
|
||||
|
||||
func (client *Client) AwayMessage() (result string) {
|
||||
client.stateMutex.RLock()
|
||||
result = client.awayMessage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue