This commit is contained in:
reality 2013-08-31 15:38:57 +00:00
parent 503326be04
commit f9ca9a76d9

View File

@ -39,6 +39,10 @@ var webInterface = function(dbot) {
server = splitUser[1],
username = splitUser[0];
if(!server || !username) return callback(null, false, { 'message':
'Please provide a username in the format of name@server (Servers: ' +
_.keys(dbot.config.servers).join(', ') + ')' });
dbot.api.users.resolveUser(server, username, function(user) {
if(user) {
this.api.getWebUser(user.id, function(webUser) {