diff options
Diffstat (limited to 'user.go')
-rw-r--r-- | user.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ func (u *User) GetName() string { | |||
31 | } | 31 | } |
32 | 32 | ||
33 | func (u *User) HasExternalServices() bool { | 33 | func (u *User) HasExternalServices() bool { |
34 | return u.AnilistClient.IsCoupled | 34 | return (u.AnilistClient != nil && u.AnilistClient.IsCoupled) |
35 | } | 35 | } |
36 | 36 | ||
37 | func (u *User) ExternalServices() []ExternalService { | 37 | func (u *User) ExternalServices() []ExternalService { |