git.cweiske.de
/
psist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78df994
)
ignore whitespace
master
author
Christian Weiske
<cweiske@cweiske.de>
Fri, 21 May 2010 06:54:35 +0000
(08:54 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Fri, 21 May 2010 06:54:35 +0000
(08:54 +0200)
Psist.pm
patch
|
blob
|
history
diff --git
a/Psist.pm
b/Psist.pm
index 8ef72393475544e9a058fe80c9b9d3bf146fda37..21b330049c8c445f6bc073110fb8982d2f2c0464 100644
(file)
--- 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 = <CONFIGXML>) {
- if($row =~ /<name type="QString">(.*?)<\/name>/) {
+ if($row =~ /<name type="QString"
[^>]*
>(.*?)<\/name>/) {
$nick = $1;
}
- if($row =~ /<jid type="QString">(.*?)<\/jid>/) {
+ if($row =~ /<jid type="QString"
[^>]*
>(.*?)<\/jid>/) {
if(length($1) == 0) {
next;
}