Permalink
Browse files

query_prepare => query

  • Loading branch information...
1 parent 39a0e5d commit 246408259908037665f789a9a2f06e542c47e9f6 @weppos committed Oct 29, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit 2464082

Please sign in to comment.