clean up various things and add the DXXml.pm module
[spider.git] / perl / AMsg.pm
index 15596a98196958e3e2185e0d76cb09ca397f26da..4738403a5bf2d2b1f6aee333ac8709ce3c1208c5 100644 (file)
@@ -126,7 +126,6 @@ sub new_client {
                        $conn->{outbound} = 0;
                        $conn->{state} = 'WH';          # wait for return authorize
                        my $thing = $conn->{lastthing} = Thingy::Hello->new();
-
                        $thing->send($conn, 'Aranea');
                        dbg("-> D $conn->{peerhost} $thing->{Aranea}") if isdbg('chan');
                }
@@ -170,7 +169,7 @@ sub new_channel
        # set up the basic channel info
        # is there one already connected to me - locally? 
        my $user = DXUser->get_current($call);
-       my $dxchan = DXChannel->get($call);
+       my $dxchan = DXChannel::get($call);
        if ($dxchan) {
                if ($main::bumpexisting && $call ne $main::mycall) {
                        my $ip = $conn->{peerhost} || 'unknown';