Commit 1b152fc1 authored by Cool Fire's avatar Cool Fire

Fix auto-voice

parent 51d6114a
Pipeline #1107 passed with stages
in 3 minutes and 33 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment