summaryrefslogtreecommitdiff
path: root/irc/states.go
diff options
context:
space:
mode:
Diffstat (limited to 'irc/states.go')
-rw-r--r--irc/states.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/irc/states.go b/irc/states.go
index 1817882..5585990 100644
--- a/irc/states.go
+++ b/irc/states.go
@@ -229,6 +229,10 @@ func (s *Session) Nick() string {
return s.nick
}
+func (s *Session) LNick() string {
+ return s.lNick
+}
+
func (s *Session) IsChannel(name string) bool {
return strings.IndexAny(name, "#&") == 0 // TODO compute CHANTYPES
}