forked from GitHub/dbot
[Close #619]
This commit is contained in:
parent
311f8034f4
commit
964467464c
@ -16,7 +16,7 @@ var lastfm = function(dbot) {
|
||||
dbot.api.profile.getProfile(server, nick, function(err, user, profile) {
|
||||
if(user) {
|
||||
if(profile && _.has(profile.profile, 'lastfm')) {
|
||||
callback(user, profile.profile.lastfm);
|
||||
callback(user, profile.profile.lastfm.toLowerCase(););
|
||||
} else {
|
||||
callback(user, null);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user