1
0
Fork 0
forked from External/ergo
This commit is contained in:
Shivaram Lingamneni 2018-12-23 13:25:02 -05:00
parent f912f64f21
commit b6b4d365bc
3 changed files with 36 additions and 8 deletions

View file

@ -84,6 +84,12 @@ func (client *Client) NickCasefolded() string {
return client.nickCasefolded
}
func (client *Client) NickMaskCasefolded() string {
client.stateMutex.RLock()
defer client.stateMutex.RUnlock()
return client.nickMaskCasefolded
}
func (client *Client) Username() string {
client.stateMutex.RLock()
defer client.stateMutex.RUnlock()