Commit 03b288e1 authored by Cool Fire's avatar Cool Fire

Fix both instances

parent 1b152fc1
Pipeline #1108 passed with stages
in 3 minutes and 54 seconds
......@@ -217,7 +217,7 @@ class Shells
if(parts[0] == "#{@config.nick} = #{@chan} ")
nicks = parts[1].split(' ')
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" )
@irc.mode( @chan, "+v" , n, true )
end
......
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