1
0
Fork 0
forked from External/ergo

enforce nicks via lowercase strings

This commit is contained in:
Jeremy Latt 2014-02-17 15:25:32 -08:00
parent 6d8b381927
commit a55b912941
2 changed files with 19 additions and 6 deletions

View file

@ -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 != ""
}