summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
authorRyan Waldron <rwaldron@github.com>2013-04-18 14:42:12 -0500
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2013-04-25 07:18:47 +0200
commit0755e61741a0a251bd1b8429d80a341861e956c2 (patch)
treec081c316fbe4193204ad99d641ee5493c10428e0 /data/rbot/plugins
parentfc7b959f975fe84f843d0e9518ee00c5dff8d346 (diff)
Fix TCPSocket name
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/iplookup.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/iplookup.rb b/data/rbot/plugins/iplookup.rb
index 65867a50..5277b95f 100644
--- a/data/rbot/plugins/iplookup.rb
+++ b/data/rbot/plugins/iplookup.rb
@@ -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