diff options
author | delthas <delthas@dille.cc> | 2022-07-06 22:17:13 +0200 |
---|---|---|
committer | delthas <delthas@dille.cc> | 2022-07-06 22:17:13 +0200 |
commit | e24f9a5b7f69875d6c0e18303f7f28158a36856f (patch) | |
tree | fd3295a6732c63f9a0baf55c413ab69ed02c0b95 /irc | |
parent | Reset history when flushing lines (diff) |
Implement /whois
Diffstat (limited to '')
-rw-r--r-- | irc/session.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/irc/session.go b/irc/session.go index 9da44cc..2bf2623 100644 --- a/irc/session.go +++ b/irc/session.go @@ -564,6 +564,10 @@ func (s *Session) NewHistoryRequest(target string) *HistoryRequest { } } +func (s *Session) Whois(nick string) { + s.out <- NewMessage("WHOIS", nick) +} + func (s *Session) Invite(nick, channel string) { s.out <- NewMessage("INVITE", nick, channel) } |