Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

query_prepare => query

  • Loading branch information...
commit 246408259908037665f789a9a2f06e542c47e9f6 1 parent 39a0e5d
@weppos weppos authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/whois/server/adapters/base.rb
View
4 lib/whois/server/adapters/base.rb
@@ -152,7 +152,7 @@ def buffer_start
# @param [String] port
# @return [String]
#
- def query_prepare(query, host, port = nil)
+ def query(query, host, port = nil)
args = []
args.push(host)
args.push(port || options[:port] || DEFAULT_WHOIS_PORT)
@@ -175,7 +175,7 @@ def query_prepare(query, host, port = nil)
self.class.query_handler.call(query, *args)
end
- alias :query_the_socket :query_prepare
+ alias :query_the_socket :query
end
Please sign in to comment.
Something went wrong with that request. Please try again.