ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/widget.ext
(Generate patch)

Comparing deliantra/server/ext/widget.ext (file contents):
Revision 1.26 by root, Wed Dec 16 21:36:20 2009 UTC vs.
Revision 1.27 by root, Sat Jan 16 00:08:33 2010 UTC

237sub msg { 237sub msg {
238 my ($self, @msg) = @_; 238 my ($self, @msg) = @_;
239 239
240 if (my $ns = shift->{ns}) { 240 if (my $ns = shift->{ns}) {
241 return unless $ns->{json_coder};#d# might be gone at destroy time(??) 241 return unless $ns->{json_coder};#d# might be gone at destroy time(??)
242 warn "msg " . $ns->{json_coder}->encode (\@msg) if $DEBUG;#d# 242 #d#warn "msg " . $ns->{json_coder}->encode (\@msg) if $DEBUG;#d#
243 $ns->send_packet ("ext " . $ns->{json_coder}->encode (\@msg)); 243 $ns->send_packet ("ext " . $ns->{json_coder}->encode (\@msg));
244 } 244 }
245} 245}
246 246
247sub alloc { 247sub alloc {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines