Diff for sendxmpp/sendxmpp between version 1.7 and 1.8
version 1.7, 2006/10/17 08:09:12 |
version 1.8, 2007/03/03 12:58:35 |
Line 143 sub read_config_file ($) { |
|
Line 143 sub read_config_file ($) { |
|
|
|
s/\#.*$//; # ignore comments in lines |
s/\#.*$//; # ignore comments in lines |
|
|
if (/([-\.\w]+)@([-\.\w:]+)\s+(\S+)\s*$/) { |
# Hugo van der Kooij <hvdkooij AT vanderkooij.org> has ccount with '#' as username |
|
if (/([-\.\w_#]+)@([-\.\w:]+)\s+(\S+)\s*$/) { |
%config = ('username' => $1, |
%config = ('username' => $1, |
'jserver' => $2, |
'jserver' => $2, |
'port' => 0, |
'port' => 0, |
Platon Group <platon@platon.org> http://platon.org/
|
|