summaryrefslogtreecommitdiff
path: root/irc/states.go
diff options
context:
space:
mode:
Diffstat (limited to 'irc/states.go')
-rw-r--r--irc/states.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc/states.go b/irc/states.go
index b6db9d0..b0e711f 100644
--- a/irc/states.go
+++ b/irc/states.go
@@ -325,7 +325,7 @@ func (s *Session) Typings(target string) []string {
targetCf := s.Casemap(target)
var res []string
for t := range s.typings.targets {
- if targetCf == t.Target {
+ if targetCf == t.Target && s.Casemap(t.Name) != s.NickCf() {
res = append(res, s.users[t.Name].Name.Name)
}
}