X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXChannel.pm;fp=perl%2FDXChannel.pm;h=1a98c7950ad906c1e99541515bb47ac61aaa3a0c;hb=6a17c3a3e2f7a72c0d13a93c90a010b753319def;hp=ceaaf551907c0b8aaee3e19a55737c58bf92df6f;hpb=f43ac25669a7b9368d9537eed2043a864a906303;p=spider.git diff --git a/perl/DXChannel.pm b/perl/DXChannel.pm index ceaaf551..1a98c795 100644 --- a/perl/DXChannel.pm +++ b/perl/DXChannel.pm @@ -68,7 +68,7 @@ $count = 0; enhanced => '5,Enhanced Client,yesno', errors => '9,Errors', func => '5,Function', - group => '0,Access Group,parray',# used to create a group of users/nodes for some purpose or other. + group => '0,Access Group,parray', gtk => '5,Using GTK,yesno', handle_xml => '9,Handles XML,yesno', here => '0,Here?,yesno', @@ -813,6 +813,17 @@ sub isregistered } } +# try to replace the in-core version of the dxchan with the one that has been modified with items like filters +sub replace +{ + my $self = shift; + my $call = shift; + if (ref $self) { + $call ||= $self->{call}; + $channels{$call} = $self; + } +} + #no strict; sub AUTOLOAD {