don't expose channel data on talks in gtk mode

more console fixes
This commit is contained in:
minima 2006-07-20 01:10:28 +00:00
parent 5abb852ba9
commit a5b42f8de3
2 changed files with 2 additions and 2 deletions

View File

@ -326,7 +326,7 @@ sub handlemsg
if (__PACKAGE__->can($handle)) {
__PACKAGE__->$handle($list);
} else {
push @$list, $cmd;
unshift @$list, $cmd;
__PACKAGE__->handle_def($list);
}
}

View File

@ -833,7 +833,7 @@ sub talk
$line =~ s/\\5E/\^/g;
if ($self->{talk}) {
if ($self->{gtk}) {
$self->local_send('T', dd(['talk',$to,$from,$via,$line,@_]));
$self->local_send('T', dd(['talk',$to,$from,$via,$line]));
} else {
$self->local_send('T', "$to de $from: $line");
}