projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add some flesh to a gtk based console program
[spider.git]
/
perl
/
DXChannel.pm
diff --git
a/perl/DXChannel.pm
b/perl/DXChannel.pm
index 929e7e530183ed71d62be1c2e4b9ff4701d122ed..e93370dd108c7d40e57cdcbe64212a845131cea4 100644
(file)
--- a/
perl/DXChannel.pm
+++ b/
perl/DXChannel.pm
@@
-101,6
+101,7
@@
$count = 0;
itu => '0,ITU Zone',
cq => '0,CQ Zone',
enhanced => '5,Enhanced Client,yesno',
itu => '0,ITU Zone',
cq => '0,CQ Zone',
enhanced => '5,Enhanced Client,yesno',
+ gtk => '5,Using GTK,yesno',
senddbg => '8,Sending Debug,yesno',
width => '0,Column Width',
disconnecting => '9,Disconnecting,yesno',
senddbg => '8,Sending Debug,yesno',
width => '0,Column Width',
disconnecting => '9,Disconnecting,yesno',
@@
-517,7
+518,7
@@
sub tell_buddies
$call ||= $self->{call};
$call =~ s/-\d+$//;
$call ||= $self->{call};
$call =~ s/-\d+$//;
-
my $s = $node ? "$node: $call" : $call
;
+
$m .= 'n' if $node
;
# send info to all logged in thingies
my @dxchan = get_all_users();
# send info to all logged in thingies
my @dxchan = get_all_users();
@@
-525,7
+526,7
@@
sub tell_buddies
foreach $dxchan (@dxchan) {
next if $dxchan == $self;
next if $dxchan->{call} eq $main::mycall;
foreach $dxchan (@dxchan) {
next if $dxchan == $self;
next if $dxchan->{call} eq $main::mycall;
- $dxchan->send($dxchan->msg($m, $
s
)) if grep $_ eq $call, @{$dxchan->{user}->{buddies}} ;
+ $dxchan->send($dxchan->msg($m, $
call, $node
)) if grep $_ eq $call, @{$dxchan->{user}->{buddies}} ;
}
}
}
}
@@
-724,6
+725,19
@@
sub process
}
}
}
}
+sub handle_xml
+{
+ my $self = shift;
+ my $r = 0;
+
+ if (DXXml::available()) {
+ $r = $self->{handle_xml} || 0;
+ } else {
+ delete $self->{handle_xml} if exists $self->{handle_xml};
+ }
+ return $r;
+}
+
#no strict;
sub AUTOLOAD
{
#no strict;
sub AUTOLOAD
{