Skip to content

Commit

Permalink
Renamed post code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Zubin Tiku authored and Zubin Tiku committed Jul 8, 2014
1 parent 29a5663 commit dc13bc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@ util.inherits(Client, events.EventEmitter);
*/
function parseAuth(auth) {
if (auth && typeof auth === 'string') {
var object = {
var authObject = {
username: auth.split(':')[0],
password: auth.split(':')[1]
};
return object;
return authObject;
} else {
return auth;
}
Expand Down

0 comments on commit dc13bc5

Please sign in to comment.