    # File lib/rbot/ircsocket.rb, line 353
        def gets
          if @sock.nil?
            warning "socket get attempted while closed"
            return nil
          end
          begin
            reply = @filter.in(@sock.gets)
            @lines_received += 1
            reply.strip! if reply
            debug "RECV: #{reply.inspect}"
            return reply
          rescue Exception => e
            handle_socket_error(:RECV, e)
          end
        end