forked from External/ergo
enforce nicks via lowercase strings
This commit is contained in:
parent
6d8b381927
commit
a55b912941
2 changed files with 19 additions and 6 deletions
|
|
@ -152,6 +152,10 @@ func (client *Client) Reply(reply Reply) {
|
|||
client.replies <- reply
|
||||
}
|
||||
|
||||
func (client *Client) IdleTime() time.Duration {
|
||||
return time.Since(client.atime)
|
||||
}
|
||||
|
||||
func (client *Client) HasNick() bool {
|
||||
return client.nick != ""
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue