Improved logging in avatar code
This commit is contained in:
@ -18,6 +18,7 @@ type Gravatar struct {
|
||||
func (source *Gravatar) GetAvatar(user *arn.User) *Avatar {
|
||||
// If the user has no Email registered we can't get a Gravatar.
|
||||
if user.Email == "" {
|
||||
avatarLog.Error("GRA", user.Nick, "No Email")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user