projects
/
app-devbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
445eb54
)
Change block ifs to statement modifier ifs
author
Marius Gavrilescu
<marius@ieval.ro>
Mon, 30 Jun 2014 17:07:21 +0000
(20:07 +0300)
committer
Marius Gavrilescu
<marius@ieval.ro>
Mon, 30 Jun 2014 17:07:21 +0000
(20:07 +0300)
lib/App/Devbot.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/App/Devbot.pm
b/lib/App/Devbot.pm
index d7cd700b47482b3ff191e5b1ec4308356343b9ee..1ba7bd70229c9aea72421c26702b8ba13f54c013 100644
(file)
--- a/
lib/App/Devbot.pm
+++ b/
lib/App/Devbot.pm
@@
-72,12
+72,8
@@
sub bot_start{
Retry_when_banned => 60,
));
- if ($server =~ /^($RE{net}{domain})$/) {
- $server = $1;
- }
- if ($port =~ /^([0-9]+)$/) {
- $port = $1;
- }
+ $server = $1 if $server =~ /^($RE{net}{domain})$/;
+ $port = $1 if $port =~ /^([0-9]+)$/;
$irc->yield(register => "all");
$irc->yield(
This page took
0.010975 seconds
and
4
git commands to generate.