3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00

missing close brakcet in profiles

This commit is contained in:
reality 2013-04-14 04:00:59 +00:00
parent e99653076d
commit 69c7ddde55

View File

@ -33,7 +33,7 @@ var commands = function(dbot){
if(event.params[1]){
var primary = dbot.api.users.resolveUser(event.server, event.params[1]);
if(_.has(dbot.db.profiles[event.server], primary.toLowerCase())){
event.reply(dbot.api.web.getUrl("/profile/"+event.server+"/"+primary.toLowerCase());
event.reply(dbot.api.web.getUrl("/profile/"+event.server+"/"+primary.toLowerCase()));
}
else{
event.reply("No profile found for "+event.params[1]);