Skip to content

Commit

Permalink
Fix Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillan committed Nov 20, 2012
1 parent 640963d commit dff62e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/UA.js
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,7 @@ JsSIP.UA.prototype.receiveRequest = function(request) {
]);
} else if (method === JsSIP.c.MESSAGE) {
if (!this.checkEvent('newMessage') || this.listeners('newMessage').length === 0) {
request.reply(405, JsSIP.c.REASON_405, ['Allow: '+ JsSIP.utils.getAllowedMethods(this)]);
}
request.reply(405, JsSIP.c.REASON_405, ['Allow: '+ JsSIP.utils.getAllowedMethods(this)]);
return;
}
message = new JsSIP.Message(this);
Expand Down

0 comments on commit dff62e1

Please sign in to comment.