Skip to content

Commit

Permalink
If I believe the spec, there is no tertiary identifier there
Browse files Browse the repository at this point in the history
('split_uri' is a weird name too)
  • Loading branch information
yannk committed Jul 24, 2009
1 parent 29c1034 commit dff1b3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AnyEvent/XMPP/Util.pm
Expand Up @@ -115,7 +115,7 @@ part and will return them as list.

sub split_uri {
my ($uri) = @_;
if ($uri =~ /^xmpp:(\S+)\?\w+;node=(\S+)$/) {
if ($uri =~ /^xmpp:(\S+)\?;node=(\S+)$/) {
return ($1, $2);
} else {
return (undef, $uri);
Expand Down

0 comments on commit dff1b3a

Please sign in to comment.