projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reduce the length of data in sentences to a default of 180 characters
[spider.git]
/
perl
/
DXCommandmode.pm
diff --git
a/perl/DXCommandmode.pm
b/perl/DXCommandmode.pm
index cda7690415ce9f56539c009894eea3ca4c421268..60c7f1086d228ccc03c68f5364fe9ee71134803d 100644
(file)
--- a/
perl/DXCommandmode.pm
+++ b/
perl/DXCommandmode.pm
@@
-47,7
+47,7
@@
$maxbadcount = 3; # no of bad words allowed before disconnection
use vars qw($VERSION $BRANCH);
$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
use vars qw($VERSION $BRANCH);
$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/
) || 0
;
+$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/
|| (0,0))
;
$main::build += $VERSION;
$main::branch += $BRANCH;
$main::build += $VERSION;
$main::branch += $BRANCH;
@@
-646,7
+646,7
@@
sub clear_cmd_cache
no strict 'refs';
for (keys %Cache) {
no strict 'refs';
for (keys %Cache) {
- undef *{$_};
+ undef *{$_}
unless /cmd_cache/
;
dbg("Undefining cmd $_") if isdbg('command');
}
%cmd_cache = ();
dbg("Undefining cmd $_") if isdbg('command');
}
%cmd_cache = ();