Skip to content

Commit

Permalink
remove uncessary function check
Browse files Browse the repository at this point in the history
  • Loading branch information
artwells committed Nov 24, 2013
1 parent 26f2d18 commit 2350dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts-guest-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Meteor.user = function () {
/* you might need to limit this to avoid flooding the user db */

Meteor.loginVisitor = function () {
if (!this.userId() && typeof Meteor.loginGuest() !== 'undefined') {
if (!this.userId()) {
Meteor.createGuest();
}
}
Expand Down

0 comments on commit 2350dd7

Please sign in to comment.