--- deliantra/Deliantra-Client/DC.pm 2007/04/16 20:35:28 1.143 +++ deliantra/Deliantra-Client/DC.pm 2007/09/02 03:55:02 1.150 @@ -17,7 +17,7 @@ use Carp (); BEGIN { - $VERSION = '0.97'; + $VERSION = '0.9842'; use XSLoader; XSLoader::load "CFPlus", $VERSION; @@ -30,12 +30,7 @@ use File::Path (); use Storable (); # finally use Fcntl (); - -BEGIN { - use Crossfire::Protocol::Base (); - *to_json = \&Crossfire::Protocol::Base::to_json; - *from_json = \&Crossfire::Protocol::Base::from_json; -} +use JSON::XS qw(to_json from_json); =item guard { BLOCK }