Skip to content

Commit

Permalink
whoami alias
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhooray committed Apr 9, 2015
1 parent 2235a93 commit f251fbc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/swim.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ Swim.prototype.localhost = function localhost() {
return this.membership && this.membership.localhost() || this.opts.local.host;
};

Swim.prototype.whoami = function whoami() {
return this.localhost();
};

Swim.Default = {
joinTimeout: 300
};
Expand Down

0 comments on commit f251fbc

Please sign in to comment.