diff --git a/bot/bot.go b/bot/bot.go index 700501b..df8c4c3 100644 --- a/bot/bot.go +++ b/bot/bot.go @@ -232,7 +232,13 @@ func (b *Bot) EventRecieved(conn *irc.Client, inMsg irc.Msg) { } func (b *Bot) Who(channel string) []User { - return b.Users + out := []User{} + for _, u := range b.Users { + if u.Name != b.Config.Nick { + out = append(out, u) + } + } + return out } var rootIndex string = `