fix DXUser UNIVERSAL::isa typo
[spider.git] / perl / DXUser.pm
index 6cd6ca4f14bc6df4ba2bb4bd58d8e4f07ca108e9..25672f969d7f8502160b1c941f9490c3f0eb4cf5 100644 (file)
@@ -249,7 +249,7 @@ sub get
        unless ($dbm->get($call, $data)) {
                $ref = decode($data);
                if ($ref) {
-                       if (UNIVERSAL::isa($ref, 'DXUser')) {
+                       if (!UNIVERSAL::isa($ref, 'DXUser')) {
                                dbg("DXUser::get: got strange answer from decode of $call". ref $ref. " ignoring");
                                return undef;
                        }