Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Cool Fire
nanobot4
Commits
03b288e1
Commit
03b288e1
authored
Nov 10, 2018
by
Cool Fire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix both instances
parent
1b152fc1
Pipeline
#1108
passed with stages
in 3 minutes and 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
plugins/shells.rb
plugins/shells.rb
+1
-1
No files found.
plugins/shells.rb
View file @
03b288e1
...
@@ -217,7 +217,7 @@ class Shells
...
@@ -217,7 +217,7 @@ class Shells
if
(
parts
[
0
]
==
"
#{
@config
.
nick
}
=
#{
@chan
}
"
)
if
(
parts
[
0
]
==
"
#{
@config
.
nick
}
=
#{
@chan
}
"
)
nicks
=
parts
[
1
].
split
(
' '
)
nicks
=
parts
[
1
].
split
(
' '
)
nicks
.
each
do
|
n
|
nicks
.
each
do
|
n
|
voice
=
Net
::
HTTP
.
get
(
'
www.insomnia247.nl
'
,
'
/users.php?user=
'
+
n
)
voice
=
Net
::
HTTP
.
get
(
URI
.
parse
(
"https://
www.insomnia247.nl/users.php?user=
#{
nick
}
"
)
)
if
(
voice
==
"YES"
)
if
(
voice
==
"YES"
)
@irc
.
mode
(
@chan
,
"+v"
,
n
,
true
)
@irc
.
mode
(
@chan
,
"+v"
,
n
,
true
)
end
end
...
...
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