aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/user.go b/user.go
index cea3420..e43e1ee 100644
--- a/user.go
+++ b/user.go
@@ -31,7 +31,7 @@ func (u *User) GetName() string {
31} 31}
32 32
33func (u *User) HasExternalServices() bool { 33func (u *User) HasExternalServices() bool {
34 return u.AnilistClient.IsCoupled 34 return (u.AnilistClient != nil && u.AnilistClient.IsCoupled)
35} 35}
36 36
37func (u *User) ExternalServices() []ExternalService { 37func (u *User) ExternalServices() []ExternalService {