Skip to content

Commit

Permalink
avoid being to much defensive on the client side
Browse files Browse the repository at this point in the history
  • Loading branch information
n1k0 committed Mar 27, 2013
1 parent 4bf10e7 commit d262aac
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions static/js/talkilla.js
Expand Up @@ -12,8 +12,6 @@ var Talkilla = (function($, Backbone) {
dataType: 'json'
})
.done(function(auth) {
if (!auth.nick)
return cb(new Error('joining failed'));
return cb(null,
new app.User({nick: auth.nick}),
new app.UserSet(auth.users));
Expand Down

0 comments on commit d262aac

Please sign in to comment.