--- deliantra/Deliantra-Client/DC/Protocol.pm 2006/09/29 00:56:06 1.84 +++ deliantra/Deliantra-Client/DC/Protocol.pm 2006/10/01 11:53:59 1.85 @@ -885,6 +885,8 @@ . "protocol version $self->{version}\n" . "minimap support $yesno[$self->{setup}{mapinfocmd} > 0]\n" . "extended command support $yesno[$self->{setup}{extcmd} > 0]\n" + . "editor support $yesno[!!length $self->{cvs_root}]\n" + . "test server " . (length $self->{test_server} ? $self->{test_server} : $yesno[0]) . "\n" . "map attributes $yesno[$self->{setup}{extmap} > 0]\n" . "cfplus support $yesno[$self->{cfplus_ext} > 0]" . ($self->{cfplus_ext} > 0 ? ", version $self->{cfplus_ext}" : "") ."\n" @@ -899,6 +901,17 @@ $self->{cfplus_ext} = $_[0]{version}; $self->update_server_info; + if ($self->{cfplus_ext} >= 2) { + $self->send_ext_req ("editor_support", sub { + $self->{cvs_root} = $_[0]{cvs_root}; + $self->{upload} = $_[0]{upload}; + $self->{test_server} = $_[0]{server}; + $self->update_server_info; + + 0 + }); + } + 0 });