]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
Fix TCPSocket name
authorRyan Waldron <rwaldron@github.com>
Thu, 18 Apr 2013 19:42:12 +0000 (14:42 -0500)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 25 Apr 2013 05:18:47 +0000 (07:18 +0200)
data/rbot/plugins/iplookup.rb

index 65867a501db399d42550dafc7077319488f3f8b5..5277b95fae2187985a761db917b383a984bf7837 100644 (file)
@@ -143,7 +143,7 @@ module ArinWhois
 module_function
 
   def raw_whois(query_string, host)
-    s = TCPsocket.open(host, 43)
+    s = TCPSocket.open(host, 43)
     s.write(query_string+"\n")
     ret = s.read
     s.close