add more fixes for peerhosts
[spider.git] / perl / DXCommandmode.pm
index 87182fc69f08b44218f9f8fb2e9b29251469280d..798351773c998c62f603facd84c093c782873d34 100644 (file)
@@ -1224,7 +1224,7 @@ sub send_motd
        }
        $motd = "${main::motd}_$self->{lang}" unless $motd && -e $motd;
        $motd = $main::motd unless $motd && -e $motd;
-       if ($self->conn->{csort} eq 'ax25') {
+       if ($self->conn->ax25) {
                if ($motd) {
                        $motd = "${motd}_ax25" if -e "${motd}_ax25";
                } else {