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

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\");
voice = Net::HTTP.get( '', '/users.php?user=' + nick )
voice = Net::HTTP.get( URI.parse( "{nick}" ) )
if( voice == "YES" )
@irc.mode( channel, "+v" , nick, true )
# 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