Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nanobot4
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cool Fire
nanobot4
Commits
1b152fc1
Commit
1b152fc1
authored
Nov 10, 2018
by
Cool Fire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix auto-voice
parent
51d6114a
Pipeline
#1107
passed with stages
in 3 minutes and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
plugins/shells.rb
plugins/shells.rb
+1
-2
No files found.
plugins/shells.rb
View file @
1b152fc1
...
...
@@ -47,14 +47,13 @@ class Shells
@irc
.
notice
(
nick
,
"Hello
#{
nick
}
, welcome to #shells for Insomnia 24/7 shell support."
);
@irc
.
notice
(
nick
,
"If no one is here to help you, please stick around or email your questions to coolfire
\@
insomnia247.nl."
);
voice
=
Net
::
HTTP
.
get
(
'www.insomnia247.nl'
,
'/users.php?user='
+
nick
)
voice
=
Net
::
HTTP
.
get
(
URI
.
parse
(
"https://www.insomnia247.nl/users.php?user=
#{
nick
}
"
)
)
if
(
voice
==
"YES"
)
@irc
.
mode
(
channel
,
"+v"
,
nick
,
true
)
end
end
end
# Show links
def
link
(
_nick
,
_user
,
_host
,
from
,
_msg
,
arguments
,
con
)
case
arguments
...
...
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