mirror of
https://github.com/reality/dbot.git
synced 2025-01-26 03:54:18 +01:00
whoopsie doodle
This commit is contained in:
parent
ad08b24c3e
commit
c691ce38ed
@ -16,7 +16,7 @@ var lastfm = function(dbot) {
|
|||||||
dbot.api.profile.getProfile(server, nick, function(err, user, profile) {
|
dbot.api.profile.getProfile(server, nick, function(err, user, profile) {
|
||||||
if(user) {
|
if(user) {
|
||||||
if(profile && _.has(profile.profile, 'lastfm')) {
|
if(profile && _.has(profile.profile, 'lastfm')) {
|
||||||
callback(user, profile.profile.lastfm.toLowerCase(););
|
callback(user, profile.profile.lastfm.toLowerCase());
|
||||||
} else {
|
} else {
|
||||||
callback(user, null);
|
callback(user, null);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user