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

Comparing deliantra/Deliantra-Client/DC/UI/ChatView.pm (file contents):
Revision 1.1 by elmex, Mon Jul 23 18:13:33 2007 UTC vs.
Revision 1.2 by elmex, Tue Jul 24 18:39:39 2007 UTC

42 $input->set_text (''); 42 $input->set_text ('');
43 43
44 if ($text =~ /^\/(.*)/) { 44 if ($text =~ /^\/(.*)/) {
45 $::CONN->user_send ($1); 45 $::CONN->user_send ($1);
46 } else { 46 } else {
47 my $say_cmd = $::CFG->{say_command} || 'say'; 47 my $say_cmd = $self->{say_command};
48 if ($say_cmd eq '') {
49 $::CONN->user_send ($text);
50 } else {
48 $::CONN->user_send ("$say_cmd $text"); 51 $::CONN->user_send ("$say_cmd $text");
52 }
49 } 53 }
50 if ($input->{refocus_map}) { 54 if ($input->{refocus_map}) {
51 delete $input->{refocus_map}; 55 delete $input->{refocus_map};
52 $::MAPWIDGET->focus_in 56 $::MAPWIDGET->focus_in
53 } 57 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines