ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.293 by root, Tue Jul 3 05:14:15 2007 UTC vs.
Revision 1.294 by root, Tue Jul 3 06:00:48 2007 UTC

2407sub cf::client::send_msg { 2407sub cf::client::send_msg {
2408 my ($self, $color, $type, $msg, @extra) = @_; 2408 my ($self, $color, $type, $msg, @extra) = @_;
2409 2409
2410 $msg = $self->pl->expand_cfpod ($msg); 2410 $msg = $self->pl->expand_cfpod ($msg);
2411 2411
2412 return unless @extra || length $msg;
2413
2412 if ($self->can_msg) { 2414 if ($self->can_msg) {
2413 $self->send_packet ("msg " . $self->{json_coder}->encode ([$color, $type, $msg, @extra])); 2415 $self->send_packet ("msg " . $self->{json_coder}->encode ([$color, $type, $msg, @extra]));
2414 } else { 2416 } else {
2415 # replace some tags by gcfclient-compatible ones 2417 # replace some tags by gcfclient-compatible ones
2416 for ($msg) { 2418 for ($msg) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines