diff options
Diffstat (limited to 'auth_sqlite3.go')
-rw-r--r-- | auth_sqlite3.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth_sqlite3.go b/auth_sqlite3.go index 0eb4f5b..7403e8c 100644 --- a/auth_sqlite3.go +++ b/auth_sqlite3.go @@ -161,7 +161,7 @@ func (a authSQLite3) Unban(id string) error { } // Banned reports whether a network address is banned -func (a authSQLite3) Banned(addr *net.IPAddr) bool { +func (a authSQLite3) Banned(addr *net.UDPAddr) bool { if err := a.init(); err != nil { return true } |