projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chop out Investigate code
[spider.git]
/
perl
/
DXCommandmode.pm
diff --git
a/perl/DXCommandmode.pm
b/perl/DXCommandmode.pm
index 72144d91ea2f302b65a03552cd9728f94797c96c..9b3b09e3f4e24572f5ee5e45462c09eff0d41346 100644
(file)
--- a/
perl/DXCommandmode.pm
+++ b/
perl/DXCommandmode.pm
@@
-68,7
+68,7
@@
sub new
# routing, this must go out here to prevent race condx
my $pkg = shift;
my $call = shift;
# routing, this must go out here to prevent race condx
my $pkg = shift;
my $call = shift;
- my @rout = $main::routeroot->add_user($call,
Route::here(1)
);
+ my @rout = $main::routeroot->add_user($call,
1
);
my $ref = Route::User::get($call);
my $ref = Route::User::get($call);
@@
-559,6
+559,9
@@
sub disconnect
# send info to all logged in thingies
$self->tell_login('logoutu');
# send info to all logged in thingies
$self->tell_login('logoutu');
+ # remove any outstanding pings I have sent
+ Thingy::Ping::forget($call);
+
Log('DXCommand', "$call disconnected");
$self->SUPER::disconnect;
Log('DXCommand', "$call disconnected");
$self->SUPER::disconnect;