Skip to content
Features
Business
Explore
Marketplace
Pricing
This repository
Sign in
or
Sign up
Watch
4
Star
4
Fork
6
ubuntu-si
/
ircbot
Code
Issues
1
Pull requests
0
Insights
Permalink
Browse files
Yay for identations
Loading branch information
...
1 parent
cce6623
commit
a64c659e74f2fd1b1535e13a00c1cf28dc9f1358
CrazyLemon
committed
Sep 9, 2017
Verified
This commit was signed with a
verified signature
.
CrazyLemon
Dražen M.
Unified
Split
Showing
1 changed file
with
2 additions
and
2 deletions
.
+2
−2
scripts/url.coffee
Show comments
View
4
scripts/url.coffee
@@ -5,8 +5,8 @@ module.exports = (bot) ->
resolve
=
(
url
,
cb
)
->
if
is_url
.
test
url
parsed_url
=
url
.
match
(is_url)
-
if
parsed_url[
0
].
substring
(
0
,
3
)
==
"
www
"
-
parsed_url[
0
]
=
"
http://
"
+
parsed_url[
0
]
+
if
parsed_url[
0
].
substring
(
0
,
3
)
==
"
www
"
+ parsed_url[
0
]
=
"
http://
"
+
parsed_url[
0
]
bot
.
fetchHTML
parsed_url[
0
], (
$
)
->
if
$
stack
=
[]
Toggle all file notes
0 comments on commit
a64c659
Please
sign in
to comment.
You can't perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
0 comments on commit
a64c659