mirror of https://github.com/fluffle/goirc
Add ignore information to accesslist
This commit is contained in:
parent
7007e6eb9f
commit
fb694f1546
|
@ -128,6 +128,12 @@ func accesslist(conn *irc.Conn, nick *irc.Nick, args, target string) {
|
|||
say(conn, nick.Nick, "%s is the owner", owner)
|
||||
}
|
||||
|
||||
for i, _ := range(ignores[conn.Network]) {
|
||||
if strings.Contains(i, args) {
|
||||
say(conn, nick.Nick, "%s is being ignored", i)
|
||||
}
|
||||
}
|
||||
|
||||
section := conn.Network + " " + channel
|
||||
users, err := auth.Options(section)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue