Add Me() function for ease of use.

This commit is contained in:
Alex Bramley 2013-02-18 01:38:04 +00:00
parent 12bcc94eeb
commit 8ed96e4294
1 changed files with 4 additions and 0 deletions

View File

@ -121,6 +121,10 @@ func (conn *Conn) Config() *Config {
return conn.cfg
}
func (conn *Conn) Me() *state.Nick {
return conn.cfg.Me
}
func (conn *Conn) StateTracker() state.Tracker {
return conn.st
}