1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-05-12 18:44:50 +00:00

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

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
}