ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/Protocol.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/Protocol.pm (file contents):
Revision 1.76 by root, Mon Aug 14 01:21:02 2006 UTC vs.
Revision 1.78 by elmex, Mon Aug 14 14:35:31 2006 UTC

34 34
35 map ["$cmd$_", $text], 35 map ["$cmd$_", $text],
36 sort { (length $a) <=> (length $b) } 36 sort { (length $a) <=> (length $b) }
37 @args 37 @args
38 } sort { $a->{par} <=> $b->{par} } 38 } sort { $a->{par} <=> $b->{par} }
39 CFPlus::Pod::find command_help => "*"; 39 CFPlus::Pod::find command => "*";
40 40
41 $self->{map_widget}->add_command (@$_) 41 $self->{map_widget}->add_command (@$_)
42 for @cmd_help; 42 for @cmd_help;
43 43
44 $self->{noface} = new_from_file CFPlus::Texture 44 $self->{noface} = new_from_file CFPlus::Texture
57} 57}
58 58
59sub logprint { 59sub logprint {
60 my ($self, @a) = @_; 60 my ($self, @a) = @_;
61 61
62 return;
62 $self->{log_fh} ||= do { 63 $self->{log_fh} ||= do {
63 my $path = "$Crossfire::VARDIR/log.$self->{host}"; 64 my $path = "$Crossfire::VARDIR/log.$self->{host}";
64 65
65 open my $fh, ">>:utf8", $path 66 open my $fh, ">>:utf8", $path
66 or die "Couldn't open logfile $path: $!"; 67 or die "Couldn't open logfile $path: $!";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines