aboutsummaryrefslogtreecommitdiff
path: root/auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'auth.go')
-rw-r--r--auth.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth.go b/auth.go
index d4415ee..1a1f64f 100644
--- a/auth.go
+++ b/auth.go
@@ -28,13 +28,13 @@ type authBackend interface {
LastSrv(name string) (string, error)
SetLastSrv(name, srv string) error
Timestamp(name string) (time.Time, error)
- Import(in []user)
+ Import(in []user) error
Export() ([]user, error)
Ban(addr, name string) error
Unban(id string) error
Banned(addr *net.UDPAddr) bool
- ImportBans(in []ban)
+ ImportBans(in []ban) error
ExportBans() ([]ban, error)
}