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:
parent
12bcc94eeb
commit
8ed96e4294
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue