projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix disconnect from peer
[spider.git]
/
cmd
/
set
/
name.pl
diff --git
a/cmd/set/name.pl
b/cmd/set/name.pl
index 3291757455974a77f209057463d7a199b2459a36..4fae3e16f333546e362e85b93a722acb6252e2ad 100644
(file)
--- a/
cmd/set/name.pl
+++ b/
cmd/set/name.pl
@@
-3,7
+3,7
@@
#
# Copyright (c) 1998 - Dirk Koopman
#
#
# Copyright (c) 1998 - Dirk Koopman
#
-#
$Id$
+#
#
my ($self, $line) = @_;
#
my ($self, $line) = @_;
@@
-17,13
+17,13
@@
$line =~ s/[{}]//g; # no braces allowed
return (1, $self->msg('namee1')) if !$line;
return (1, $self->msg('namee1')) if !$line;
-$user = DXUser
->
get_current($call);
+$user = DXUser
::
get_current($call);
if ($user) {
$user->name($line);
$user->put();
my $s = DXProt::pc41($call, 1, $line);
DXProt::eph_dup($s);
if ($user) {
$user->name($line);
$user->put();
my $s = DXProt::pc41($call, 1, $line);
DXProt::eph_dup($s);
- DX
Prot::broadcast_all_ak1a($s, $DXProt
::me) ;
+ DX
Channel::broadcast_all_nodes($s, $main
::me) ;
return (1, $self->msg('name', $line));
} else {
return (1, $self->msg('namee2', $call));
return (1, $self->msg('name', $line));
} else {
return (1, $self->msg('namee2', $call));