projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
slight improvement in dxcommandmode
[spider.git]
/
perl
/
DXCron.pm
diff --git
a/perl/DXCron.pm
b/perl/DXCron.pm
index 2c02be53e4432c22def3c6ad28bfa83076a93a9f..29b35ca4811d737743e8c35336487bda088e99e0 100644
(file)
--- a/
perl/DXCron.pm
+++ b/
perl/DXCron.pm
@@
-219,7
+219,7
@@
sub last_connect
{
my $call = uc shift;
return $main::systime if DXChannel::get($call);
{
my $call = uc shift;
return $main::systime if DXChannel::get($call);
- my $user = DXUser
->
get($call);
+ my $user = DXUser
::
get($call);
return $user ? $user->lastin : 0;
}
return $user ? $user->lastin : 0;
}
@@
-249,6
+249,8
@@
sub spawn
# in child, unset warnings, disable debugging and general clean up from us
$^W = 0;
eval "{ package DB; sub DB {} }";
# in child, unset warnings, disable debugging and general clean up from us
$^W = 0;
eval "{ package DB; sub DB {} }";
+ dbgclose();
+ Logclose();
DXChannel::closeall();
for (@main::listeners) {
$_->close_server;
DXChannel::closeall();
for (@main::listeners) {
$_->close_server;