projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b359511
)
slight mod on the PCXX replies
author
minima
<minima>
Tue, 24 Jan 2006 00:17:00 +0000
(
00:17
+0000)
committer
minima
<minima>
Tue, 24 Jan 2006 00:17:00 +0000
(
00:17
+0000)
perl/DXXml/Text.pm
patch
|
blob
|
history
diff --git
a/perl/DXXml/Text.pm
b/perl/DXXml/Text.pm
index 3496e0edad09355c7c382b7dc3fe0ff41d6b8464..adec20e84704e66a44d2d8d95bb7639d99d270a6 100644
(file)
--- a/
perl/DXXml/Text.pm
+++ b/
perl/DXXml/Text.pm
@@
-46,8
+46,8
@@
sub topcxx
my @out;
my $ref = DXUser->get_current($self->{to});
-
while (@_
) {
- my $line =
shift
;
+
for (split /(?:%0D)?\%0A/, $self->{content}
) {
+ my $line =
$_
;
$line =~ s/\s*$//;
Log('rcmd', 'out', $self->{to}, $line);
if ($self->{u} && $dxchan->is_clx && $ref->is_clx) {