diff --git a/plugins/shells.rb b/plugins/shells.rb index b1ac4d018ea60fb1534a5ff0913806d0f10b3beb..750d6162358b48febb0448246ad754396a7ebc43 100644 --- a/plugins/shells.rb +++ b/plugins/shells.rb @@ -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