mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 12:12:35 +01:00
[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