Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
openlaw-bot
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Resource-IL
openlaw-bot
Commits
54683941
Commit
54683941
authored
Nov 23, 2020
by
Zvi Devir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo
parent
1197c174
Pipeline
#100
failed with stage
in 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
bot.pl
bot.pl
+2
-2
No files found.
bot.pl
View file @
54683941
...
...
@@ -558,7 +558,7 @@ sub parse_actions {
my
$hour
;
(
undef
,
undef
,
$hour
)
=
localtime
();
if
(
$hour
>
0
)
{
print
"
Slow
activated, skipping sine h
our is
$hour
, wait until midnight.
\n
";
print
"
Slow
mode: H
our is
$hour
, wait until midnight.
\n
";
return
();
}
}
...
...
@@ -573,7 +573,7 @@ sub parse_actions {
# print STDERR "ADD '$1'\n";
push
@actions
,
{
line
=>
$line
,
action
=>
'
add
',
what
=>
clean_name
(
$1
)
};
if
(
$slow
)
{
print
"
Slow
activated, a
llowing one action per day.
\n
";
print
"
Slow
mode: A
llowing one action per day.
\n
";
last
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment