X-Git-Url: https://git.cweiske.de/psist.git/blobdiff_plain/78df994e3fc81e02546e7f5be9304a5a0ed8b2cb..72b09ae9ed122134e437fbbfc0604094d5e8e98f:/Psist.pm diff --git a/Psist.pm b/Psist.pm index 8ef7239..21b3300 100644 --- a/Psist.pm +++ b/Psist.pm @@ -80,10 +80,10 @@ sub load_config print "loading contacts...\n" unless $self->{silent}; open(CONFIGXML, $self->{profile} . "/accounts.xml"); while($row = ) { - if($row =~ /(.*?)<\/name>/) { + if($row =~ /]*>(.*?)<\/name>/) { $nick = $1; } - if($row =~ /(.*?)<\/jid>/) { + if($row =~ /]*>(.*?)<\/jid>/) { if(length($1) == 0) { next; }