Permalink
Browse files

Be less strict with auth_tokens and policies hashes (MSN often sends …

…bad data)
  • Loading branch information...
1 parent a9d0cd4 commit 0e7e3444d70a06a67c23a6d6e230e10dae82710a @sanko committed Jun 21, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/AnyEvent/MSN.pm
View
4 lib/AnyEvent/MSN.pm
@@ -154,7 +154,7 @@ package AnyEvent::MSN 0.001;
# Server configuration
has policies => (
is => 'bare',
- isa => 'HashRef[HashRef]',
+ isa => 'HashRef',
clearer => '_reset_policies',
writer => '_set_policies',
traits => ['Hash'],
@@ -182,7 +182,7 @@ package AnyEvent::MSN 0.001;
}
);
has auth_tokens => (is => 'bare',
- isa => 'HashRef[HashRef]',
+ isa => 'HashRef',
clearer => '_reset_auth_tokens',
writer => '_set_auth_tokens',
traits => ['Hash'],

0 comments on commit 0e7e344

Please sign in to comment.