mirror of https://github.com/fluffle/goirc
Add Me() function for ease of use.
This commit is contained in:
parent
12bcc94eeb
commit
8ed96e4294
|
@ -121,6 +121,10 @@ func (conn *Conn) Config() *Config {
|
||||||
return conn.cfg
|
return conn.cfg
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (conn *Conn) Me() *state.Nick {
|
||||||
|
return conn.cfg.Me
|
||||||
|
}
|
||||||
|
|
||||||
func (conn *Conn) StateTracker() state.Tracker {
|
func (conn *Conn) StateTracker() state.Tracker {
|
||||||
return conn.st
|
return conn.st
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue