--- deliantra/Deliantra-Client/DC.pm 2007/05/09 11:46:49 1.144 +++ deliantra/Deliantra-Client/DC.pm 2007/10/20 21:50:59 1.156 @@ -17,7 +17,7 @@ use Carp (); BEGIN { - $VERSION = '0.98'; + $VERSION = '0.995'; 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 }