#
# Copyright (c) 1998 - Dirk Koopman
#
-# $Id$
+#
#
my ($self, $line) = @_;
# remove leading and trailing spaces
$line =~ s/^\s+//;
$line =~ s/\s+$//;
+$line =~ s/[{}]//g; # no braces allowed
return (1, $self->msg('namee1')) if !$line;
-$user = DXUser->get_current($call);
+$user = DXUser::get_current($call);
if ($user) {
$user->name($line);
$user->put();
- DXProt::broadcast_ak1a(DXProt::pc41($call, 1, $line), $DXProt::me);
+ my $s = DXProt::pc41($call, 1, $line);
+ DXProt::eph_dup($s);
+ DXChannel::broadcast_all_nodes($s, $main::me) ;
return (1, $self->msg('name', $line));
} else {
return (1, $self->msg('namee2', $call));